Class CardChannelCore
  
  Represents a basic object capable of managing access to a smartcard.
 
  
  
    Inheritance
    System.Object
    CardChannelCore
   
  
  
    Inherited Members
    
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
   
  
  Assembly: WSCT.Wrapper.Desktop.dll
  Syntax
  
    public class CardChannelCore : ICardChannel
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CardChannelCore()
  Initializes a new instance.
 
  
  Declaration
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CardChannelCore(ICardContext, String)
  
  
  Declaration
  
    public CardChannelCore(ICardContext context, string readerName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | ICardContext | 
        context | 
        Resource manager context to attach. 
 | 
      
      
        | System.String | 
        readerName | 
        Name of the reader to use. 
 | 
      
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Protocol
  
  
  Declaration
  
    public Protocol Protocol { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ReaderName
  
  
  Declaration
  
    public string ReaderName { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Attach(ICardContext, String)
  
  
  Declaration
  
    public virtual void Attach(ICardContext context, string readerName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | ICardContext | 
        context | 
         | 
      
      
        | System.String | 
        readerName | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Connect(ShareMode, Protocol)
  
  
  Declaration
  
    public virtual ErrorCode Connect(ShareMode shareMode, Protocol preferedProtocol)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Disconnect(Disposition)
  
  
  Declaration
  
    public virtual ErrorCode Disconnect(Disposition disposition)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetAttrib(Attrib, ref Byte[])
  
  
  Declaration
  
    public virtual ErrorCode GetAttrib(Attrib attrib, ref byte[] buffer)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Attrib | 
        attrib | 
         | 
      
      
        | System.Byte[] | 
        buffer | 
         | 
      
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetStatus()
  
  
  Declaration
  
    public virtual State GetStatus()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Reconnect(ShareMode, Protocol, Disposition)
  
  
  Declaration
  
    public virtual ErrorCode Reconnect(ShareMode shareMode, Protocol preferedProtocol, Disposition initialization)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Transmit(ICardCommand, ICardResponse)
  
  
  Declaration
  
    public virtual ErrorCode Transmit(ICardCommand command, ICardResponse response)
   
  Parameters
  
  Returns
  
  Implements
  
  Extension Methods