示例#1
0
 internal static IntPtr SCardReleaseContext(
     [In] IntPtr hContext)
 {
     if (_osUnixPlatform == OSUnixPlatform.Linux)
     {
         return(LinuxNativeMethods.SCardReleaseContext(hContext));
     }
     else if (_osUnixPlatform == OSUnixPlatform.OSX)
     {
         return(OSXNativeMethods.SCardReleaseContext(hContext));
     }
     else
     {
         throw new NotImplementedException();
     }
 }