public void GetLicenseInfo(LicenseType type, ref vdkLicenseInfo info) { vdkError error = vdkContext_GetLicenseInfo(pContext, type, ref info); if (error != Vault.vdkError.vE_Success && error != Vault.vdkError.vE_InvalidLicense) { throw new Exception("vdkContext.GetLicenseInfo failed."); } }
private static extern vdkError vdkContext_GetLicenseInfo(IntPtr pContext, LicenseType licenseType, ref vdkLicenseInfo info);