System::Net::IPAddress::TryParse method

IPAddress::TryParse method

Tries to convert a passed string to an instance of the IPAddress class.

static bool System::Net::IPAddress::TryParse(String ipString, System::SharedPtr<IPAddress> &address)
ParameterTypeDescription
ipStringStringA string to parse.
addressSystem::SharedPtr<IPAddress>&An instance where a parsed object will be assigned.

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also