| Visual Basic (Declaration) | |
|---|---|
<DescriptionAttribute("The Certificate used for optional client-side authentication")> <DefaultValueAttribute()> <BrowsableAttribute(False)> Public Property Certificate As Certificate | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Tcp Dim value As Certificate instance.Certificate = value value = instance.Certificate | |
| C# | |
|---|---|
[DescriptionAttribute("The Certificate used for optional client-side authentication")] [DefaultValueAttribute()] [BrowsableAttribute(false)] public Certificate Certificate {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DescriptionAttribute("The Certificate used for optional client-side authentication")] [DefaultValueAttribute()] [BrowsableAttribute(false)] public: __property Certificate* get_Certificate(); public: __property void set_Certificate( Certificate* value ); | |
| C++/CLI | |
|---|---|
[DescriptionAttribute("The Certificate used for optional client-side authentication")] [DefaultValueAttribute()] [BrowsableAttribute(false)] public: property Certificate^ Certificate { Certificate^ get(); void set ( Certificate^ value); } | |
Property Value
A Certificate object representing the certificate to use for optional client-side authentication; null otherwise.If a secure server requests a certificate from the client for client-authentication, the value of this property is sent to the server.
Typically this property can either be set before attempting to connect or from within the CertificateRequested event which is raised when the server requests a certificate from the client.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code