ThingWorx Edge .NET SDK > ThingWorx Edge .NET SDK Reference > .NET SDK ClientConfigurator: Client/Server Certificate Validation > Specifying the Properties for Validation of Client Certificates (.NET SDK)
  
Specifying the Properties for Validation of Client Certificates (.NET SDK)
To specify the information for the validation of client certificates by the server, the following properties are available on the ClientConfigurator class:
ClientCertFileInfo(String value) — Specifies the local PEM or DER formatted certificate file used to validate the client as well as the certificate type.
ClientKeyFileInfo(String value) — Specifies the full path to the key file, the passphrase for the key file, and the key type.
Here is an example of using the client certificate file properties:
ClientConfigurator config = new ClientConfigurator();
CertFileInfo clientCertFileInfo = new CertFileInfo();
clientCertFileInfo.FilePath = "C:\\path\\to\\certificate\\file";
clientCertFileInfo.CertType = 0; // '0' for axTLS
config.ClientCertFileInfo = serverCertFileInfo;
Here is an example of using the key file properties:
...
KeyFileInfo keyFileInfo = new KeyFileInfo();
keyFileInfo.FilePath = "C:\\path\\to\\key\\file";
keyFileInfo.Passphrase = "passphrase";
keyFileInfo.KeyType = 0;
config.ClientKeyFileInfo = keyFileInfo;