public static void InstallLicense(string productKey) { int errorCode = 0; try { errorCode = GrFingerprintProxy.GrInstallLicense(productKey); } catch (AccessViolationException exception) { FingerprintException exception2 = new FingerprintException(-113, exception); throw exception2; } FingerprintException.CheckError(errorCode); }