NetworkSecurityPolicy.GetDomainEncryptionMode(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the domain encryption mode the app has chosen for the given hostname,
including the setting for Encrypted Client Hello.
[Android.Runtime.Register("getDomainEncryptionMode", "(Ljava/lang/String;)I", "GetGetDomainEncryptionMode_Ljava_lang_String_Handler", ApiSince=37)]
public virtual int GetDomainEncryptionMode(string hostname);
[<Android.Runtime.Register("getDomainEncryptionMode", "(Ljava/lang/String;)I", "GetGetDomainEncryptionMode_Ljava_lang_String_Handler", ApiSince=37)>]
abstract member GetDomainEncryptionMode : string -> int
override this.GetDomainEncryptionMode : string -> int
Parameters
- hostname
- String
hostname to check what domain encryption mode has been chosen by the app
Returns
int representing the domain encryption mode.
- Attributes
Remarks
Returns the domain encryption mode the app has chosen for the given hostname, including the setting for Encrypted Client Hello.
Android reference for android.security.NetworkSecurityPolicy.getDomainEncryptionMode.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.