Show / Hide Table of Contents

Class CardChannelCore

Represents a basic object capable of managing access to a smartcard.

Inheritance
System.Object
CardChannelCore
Implements
ICardChannel
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()
Namespace: WSCT.Wrapper.Desktop.Core
Assembly: WSCT.Wrapper.Desktop.dll
Syntax
public class CardChannelCore : ICardChannel

Constructors

| Improve this Doc View Source

CardChannelCore()

Initializes a new instance.

Declaration
public CardChannelCore()
| Improve this Doc View Source

CardChannelCore(ICardContext, String)

Constructor (Attach(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
Type Description
Protocol
| 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
Type Name Description
ShareMode shareMode
Protocol preferedProtocol
Returns
Type Description
ErrorCode
| Improve this Doc View Source

Disconnect(Disposition)

Declaration
public virtual ErrorCode Disconnect(Disposition disposition)
Parameters
Type Name Description
Disposition disposition
Returns
Type Description
ErrorCode
| 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
Type Description
ErrorCode
| Improve this Doc View Source

GetStatus()

Declaration
public virtual State GetStatus()
Returns
Type Description
State
| Improve this Doc View Source

Reconnect(ShareMode, Protocol, Disposition)

Declaration
public virtual ErrorCode Reconnect(ShareMode shareMode, Protocol preferedProtocol, Disposition initialization)
Parameters
Type Name Description
ShareMode shareMode
Protocol preferedProtocol
Disposition initialization
Returns
Type Description
ErrorCode
| Improve this Doc View Source

Transmit(ICardCommand, ICardResponse)

Declaration
public virtual ErrorCode Transmit(ICardCommand command, ICardResponse response)
Parameters
Type Name Description
ICardCommand command
ICardResponse response
Returns
Type Description
ErrorCode

Implements

ICardChannel

Extension Methods

JsonHelpers.WriteToJsonFile(Object, String)
JsonHelpers.WriteToJsonFile(Object, String, Boolean)
JsonHelpers.WriteToJsonString(Object)
JsonHelpers.WriteToJsonString(Object, Boolean)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX