コード例 #1
0
        protected override unsafe void DisposeUnmanaged()
        {
            base.DisposeUnmanaged();

            if (Handle == null || Handle.IsInvalid)
            {
                return;
            }
            Handle.Dispose();
            Handle = null;
        }
コード例 #2
0
 unsafe internal ElGamalKeyPair(NativeElGamalKeyPair handle)
 {
     Handle = handle;
 }