Android Guides | Samples

Android.OS.StrictMode.ThreadPolicy.Builder.PermitNetwork Method

Disable detection of network operations.

Syntax

[Android.Runtime.Register("permitNetwork", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "")]
public StrictMode+ThreadPolicy+Builder PermitNetwork ()

Remarks

Disable detection of network operations.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9