internal static IntPtr SCardBeginTransaction( [In] IntPtr hCard) { if (_osUnixPlatform == OSUnixPlatform.Linux) { return(LinuxNativeMethods.SCardBeginTransaction(hCard)); } else if (_osUnixPlatform == OSUnixPlatform.OSX) { return(OSXNativeMethods.SCardBeginTransaction(hCard)); } else { throw new NotImplementedException(); } }