SCardListReaders

C# Signature:

[DllImport("winscard.dll", EntryPoint="SCardListReadersA", CharSet=CharSet.Ansi)]
    public static extern int SCardListReaders(
      int hContext, 
      byte[] mszGroups,
      byte[] mszReaders,
      ref UInt32 pcchReaders
      );

VB.NET Signature:

<DllImport("WinScard.dll", EntryPoint:="SCardListReadersA", CharSet:=CharSet.Ansi)>
    Public Shared Function SCardListReaders(
      hContext As IntPtr,
      mszGroups As Byte(),
      mszReaders As Byte(),
      ByRef pcchReaders As UInt32
      ) As Integer
    End Function

Sample Code:

Última actualización