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