| Visual Basic (Declaration) | |
|---|---|
<DefaultValueAttribute()> <CategoryAttribute("Security")> <DescriptionAttribute("Authenticate the Certificate received.")> Public Property UseAuthentication As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Tcp Dim value As Boolean instance.UseAuthentication = value value = instance.UseAuthentication | |
| C# | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Security")] [DescriptionAttribute("Authenticate the Certificate received.")] public bool UseAuthentication {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Security")] [DescriptionAttribute("Authenticate the Certificate received.")] public: __property bool get_UseAuthentication(); public: __property void set_UseAuthentication( bool value ); | |
| C++/CLI | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Security")] [DescriptionAttribute("Authenticate the Certificate received.")] public: property bool UseAuthentication { bool get(); void set ( bool value); } | |
Property Value
A Boolean value which determines if certificate authentication is used. Defaults to true.If set to true, you must control the acceptance/denial of certificates in the CertificateReceived event. If set to false, all certificates will be accepted no matter if they are valid or invalid.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code