internal static IntPtr SCardListReaders( [In] IntPtr hContext, [In] byte[] mszGroups, [Out] byte[] mszReaders, [In, Out] ref IntPtr pcchReaders) { if (_osUnixPlatform == OSUnixPlatform.Linux) { return(LinuxNativeMethods.SCardListReaders(hContext, mszGroups, mszReaders, ref pcchReaders)); } else if (_osUnixPlatform == OSUnixPlatform.OSX) { return(OSXNativeMethods.SCardListReaders(hContext, mszGroups, mszReaders, ref pcchReaders)); } else { throw new NotImplementedException(); } }