| Visual Basic (Declaration) | |
|---|---|
<DescriptionAttribute("Gets and Sets the security protocol to be used.")> <DefaultValueAttribute()> <CategoryAttribute("Security")> Public Property SecureProtocol As SecureProtocol | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Tcp Dim value As SecureProtocol instance.SecureProtocol = value value = instance.SecureProtocol | |
| C# | |
|---|---|
[DescriptionAttribute("Gets and Sets the security protocol to be used.")] [DefaultValueAttribute()] [CategoryAttribute("Security")] public SecureProtocol SecureProtocol {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DescriptionAttribute("Gets and Sets the security protocol to be used.")] [DefaultValueAttribute()] [CategoryAttribute("Security")] public: __property SecureProtocol get_SecureProtocol(); public: __property void set_SecureProtocol( SecureProtocol value ); | |
| C++/CLI | |
|---|---|
[DescriptionAttribute("Gets and Sets the security protocol to be used.")] [DefaultValueAttribute()] [CategoryAttribute("Security")] public: property SecureProtocol SecureProtocol { SecureProtocol get(); void set ( SecureProtocol value); } | |
Property Value
A SecureProtocol value.Set this property to set the type of encryption to use on the data sent/received. This property defaults to SecureProtocol.None, signifying no encryption is used on the data.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code