public void CaptureFinalize() { try { int errorCode = 0; try { errorCode = GrFingerprintProxy.GrCapFinalize(); } catch (AccessViolationException exception) { FingerprintException exception2 = new FingerprintException(-113, exception); throw exception2; } FingerprintException.CheckError(errorCode); } finally { if (this.grStatusEventHandler != null) { this.grStatusEventHandler = null; if (this.gchStatus.IsAllocated) { this.gchStatus.Free(); } } } }
public void CaptureFinalize() { try { int errorCode = 0; try { errorCode = GrFingerprintProxy.GrCapFinalize(); } catch (AccessViolationException exception) { FingerprintException exception2 = new FingerprintException(-113, exception); throw exception2; } FingerprintException.CheckError(errorCode); } finally { if (this.grStatusEventHandler != null) { this.grStatusEventHandler = null; if (this.gchStatus.IsAllocated) { this.gchStatus.Free(); } } } }
public void CaptureInitialize() { if (this.grStatusEventHandler == null) { this.grStatusEventHandler = new GrStatusEventHandler(this.OnStatus); this.gchStatus = GCHandle.Alloc(this.grStatusEventHandler); } this.CaptureInitialize(this.grStatusEventHandler); }
public void CaptureInitialize() { if (this.grStatusEventHandler == null) { this.grStatusEventHandler = new GrStatusEventHandler(this.OnStatus); this.gchStatus = GCHandle.Alloc(this.grStatusEventHandler); } this.CaptureInitialize(this.grStatusEventHandler); }
private void CaptureInitialize(GrStatusEventHandler grStatusEventHandler) { int errorCode = 0; try { errorCode = GrFingerprintProxy.GrCapInitialize(grStatusEventHandler); } catch (AccessViolationException exception) { FingerprintException exception2 = new FingerprintException(-113, exception); throw exception2; } FingerprintException.CheckError(errorCode); }
private void CaptureInitialize(GrStatusEventHandler grStatusEventHandler) { int errorCode = 0; try { errorCode = GrFingerprintProxy.GrCapInitialize(grStatusEventHandler); } catch (AccessViolationException exception) { FingerprintException exception2 = new FingerprintException(-113, exception); throw exception2; } FingerprintException.CheckError(errorCode); }
public static extern int GrCapInitialize(GrStatusEventHandler statusEventHandler);
public static extern int GrCapInitialize(GrStatusEventHandler statusEventHandler);