Here are the examples of the csharp api System.Net.IPAddress.ParseIPV4(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : IPAddress.cs
with MIT License
from GrapeCity
with MIT License
from GrapeCity
static bool TryParse (string ipString, out IPAddress address)
{
if (ipString == null)
throw new ArgumentNullException ("ipString");
if ((address = ParseIPV4 (ipString)) == null)
if ((address = ParseIPV6 (ipString)) == null)
return false;
return true;
}
19
Source : IPAddress.cs
with MIT License
from roozbehid
with MIT License
from roozbehid
public static bool TryParse (string ipString, out IPAddress address)
{
if (ipString == null)
throw new ArgumentNullException ("ipString");
if ((address = ParseIPV4 (ipString)) == null)
if ((address = ParseIPV6 (ipString)) == null)
return false;
return true;
}