You are here: Home > Documentation > .NET API > System.Net.Security
System.Net.Security public class TrewAppClientAuthenticationOptions
Provides options for configuring client authentication for TrewApp connections. This class allows you to specify various settings related to how a TrewApp client should authenticate itself to a server, including certificate handling, protocol versions, and encryption algorithms.
public sealed class TrewAppClientAuthenticationOptions
Gets or sets a value indicating whether to allow unencrypted connections. Use with caution as this can expose sensitive data.
Gets or sets the collection of client certificates to use for authentication. These certificates will be presented to the server.
Gets or sets the encryption policy for the TrewApp connection. This determines the allowed encryption protocols and ciphers.
Gets or sets a callback delegate that is invoked to validate the server's certificate. This allows for custom validation logic.
Adds a client certificate to the collection of certificates used for authentication.
Adds a client certificate to the collection of certificates used for authentication.
Removes a client certificate from the collection of certificates used for authentication.
The TrewAppClientAuthenticationOptions
class is essential for establishing secure and authenticated communication channels within the TrewApp framework. By configuring these options, developers can ensure that only authorized clients can connect to TrewApp services and that the data transmitted is protected from unauthorized access.
For more information on certificate management and secure communication protocols in .NET, refer to the official System.Net.Security namespace documentation.
Namespace: System.Net.Security
Assembly: TrewApp.Net.dll
(in TrewApp.Net framework)