net9.0-android34.0
namespace Android.App.Admin
{
    [Register("android/app/admin/DevicePolicyManager", DoNotGenerateAcw = true)]
    public class DevicePolicyManager : Object
    {
        [Register("generateKeyPair", "(Landroid/content/ComponentName;Ljava/lang/String;Landroid/security/keystore/KeyGenParameterSpec;I)Landroid/security/AttestedKeyPair;", "GetGenerateKeyPair_Landroid_content_ComponentName_Ljava_lang_String_Landroid_security_keystore_KeyGenParameterSpec_IHandler", ApiSince = 28)]
        [RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_CERTIFICATES")]
        [SupportedOSPlatform("android28.0")]
        public virtual AttestedKeyPair? GenerateKeyPair(ComponentName? admin, string! algorithm, KeyGenParameterSpec! keySpec, [GeneratedEnum] IdAttestationFlags idAttestationFlags);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Android 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0
Information specific to net9.0-android34.0
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Android >= 28
  • Built-in API
  • Package-provided API

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙