Esempio n. 1
0
 /// <summary>
 /// 释放授权库
 /// </summary>
 public static void Free()
 {
     if (null != SecretImpl)
     {
         Marshal.ReleaseComObject(SecretImpl);
         SecretImpl = null;
         GC.Collect();
     }
 }
Esempio n. 2
0
 private static extern void GetSecretImpl([MarshalAs(UnmanagedType.AnsiBStr)] string productId, [MarshalAs(UnmanagedType.Interface)] out IXSLCSecret instance);