Android version 6 Marshmallow (API level 23) and up does not support getting hw adr programmatically (https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id).
| 969 | |
| 970 | // Android version 6 Marshmallow (API level 23) and up does not support getting hw adr programmatically (https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id). |
| 971 | static bool IsAndroidMarshmallowOrAbove() |
| 972 | { |
| 973 | #ifdef ANDROID |
| 974 | const long android_marshmallow_api_level = 23; |
| 975 | return android_get_device_api_level() >= android_marshmallow_api_level; |
| 976 | #endif |
| 977 | return false; |
| 978 | } |
| 979 | |
| 980 | /*# enumerate network interfaces |
| 981 | * |