Example #1
0
 public Smartcard()
 {
     // Create an instance of the
     cardClient = new SCardService.RemoteCardClient();
 }
Example #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(RemoteCardClient.GetEndpointAddress(EndpointConfiguration.NetTcpBinding_IRemoteCard));
 }
Example #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(RemoteCardClient.GetBindingForEndpoint(EndpointConfiguration.NetTcpBinding_IRemoteCard));
 }
Example #4
0
 public RemoteCardClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(RemoteCardClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Example #5
0
 public RemoteCardClient(EndpointConfiguration endpointConfiguration) :
     base(RemoteCardClient.GetBindingForEndpoint(endpointConfiguration), RemoteCardClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Example #6
0
 public RemoteCardClient() :
     base(RemoteCardClient.GetDefaultBinding(), RemoteCardClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.NetTcpBinding_IRemoteCard.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }