Parse() public static method

Parses a string and returns an Address.
public static Parse ( string address ) : Address
address string
return Address
Esempio n. 1
0
 /// <summary>
 /// Gets the name of the return address from the provided value.
 /// If the target includes a machine name, uses the local machine name in the returned value
 /// otherwise uses the local IP address in the returned value.
 /// </summary>
 /// <param name="value"></param>
 /// <param name="target"></param>
 /// <returns></returns>
 public static string GetReturnAddress(string value, string target)
 {
     return(GetReturnAddress(Address.Parse(value), Address.Parse(target)));
 }
Esempio n. 2
0
 private static string getFullPath(string value)
 {
     return(GetFullPath(Address.Parse(value)));
 }