Java.Net.URLConnection.Permission Property
Returns a Permission object representing all needed permissions to open this connection.

Syntax

[get: Android.Runtime.Register("getPermission", "()Ljava/security/Permission;", "GetGetPermissionHandler")]
public virtual Java.Security.Permission Permission { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an I/O error occurs while creating the permission object.

Remarks

Returns a Permission object representing all needed permissions to open this connection. The returned permission object depends on the state of the connection and will be null if no permissions are necessary. By default, this method returns AllPermission. Subclasses should overwrite this method to return an appropriate permission object.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1