/// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     lock (lockObject)
     {
         mPtr.Destroy();
         mPtr = null;
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MPin" /> SDK class.
 /// </summary>
 public MPin()
 {
     mPtr = new MPinWrapper();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MPin" /> SDK class.
 /// </summary>
 public MPin()
 {
     mPtr = new MPinWrapper();
 }
Пример #4
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     lock (lockObject)
     {
         mPtr.Destroy();
         mPtr = null;
     }
 }