WCF-Xtensions Class Reference for .NET
Username Property (SoapTcpTransportElement)






Gets or sets the username to authenticate with the SOCKS proxy.
Syntax
[System.Configuration.ConfigurationProperty(Name="username", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[System.ComponentModel.Category("Socks Properties")]
public System.string Username {get; set;}
public read-write property Username: System.String; 
System.Configuration.ConfigurationPropertyAttribute(Name="username", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
System.ComponentModel.CategoryAttribute("Socks Properties")
public function get,set Username : System.String
[System.Configuration.ConfigurationProperty(Name="username", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[System.ComponentModel.Category("Socks Properties")]
public: __property System.string* get_Username();
public: __property void set_Username( 
   System.string* value
);
[System.Configuration.ConfigurationProperty(Name="username", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[System.ComponentModel.Category("Socks Properties")]
public:
property System.String^ Username {
   System.String^ get();
   void set (    System.String^ value);
}
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="username", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<System.ComponentModel.CategoryAttribute("Socks Properties")>
Public Property Username As System.String
 
'Usage
 
Dim instance As SoapTcpTransportElement
Dim value As System.String
 
instance.Username = value
 
value = instance.Username
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SoapTcpTransportElement Class
SoapTcpTransportElement Members

Send Feedback