public void StartEnroll(int context) { int errorCode = 0; try { errorCode = GrFingerprintProxy.GrStartEnroll(context).ToInt32(); } catch (AccessViolationException exception) { FingerprintException exception2 = new FingerprintException(-113, exception); throw exception2; } FingerprintException.CheckError(errorCode); }