Example #1
0
        private SCARD_IO_REQUEST(CardPCI protocol)
        {
            this.dwProtocol = (uint)protocol;
#if NET20 || NET40
            this.cbPciLength = Marshal.SizeOf(typeof(SCARD_IO_REQUEST));
#else
            this.cbPciLength = Marshal.SizeOf <SCARD_IO_REQUEST>();
#endif
        }
Example #2
0
 private SCARD_IO_REQUEST(CardPCI protocol)
 {
     this.dwProtocol = (uint) protocol;
     this.cbPciLength = Marshal.SizeOf(typeof(SCARD_IO_REQUEST));
 }
Example #3
0
 private SCARD_IO_REQUEST(CardPCI protocol)
 {
     this.dwProtocol  = (uint)protocol;
     this.cbPciLength = Marshal.SizeOf(typeof(SCARD_IO_REQUEST));
 }