C# Class STUN.UsernameAttribute

Inheritance: STUNAttribute
显示文件 Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method Description
CreateUsername ( String Username ) : UsernameAttribute
ParseUsername ( UInt16 att_length, Byte att_value_with_padding ) : void

Private Methods

Method Description
UsernameToByteArray ( ) : Byte[]

Method Details

CreateUsername() public static method

public static CreateUsername ( String Username ) : UsernameAttribute
Username String
return UsernameAttribute

ParseUsername() public method

public ParseUsername ( UInt16 att_length, Byte att_value_with_padding ) : void
att_length System.UInt16
att_value_with_padding Byte
return void