Skip to content

IsInternal Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Network.dll

bool IsInternal(IPAddress ip) ​

csharp
bool IsInternal(IPAddress ip)

An extension method to determine if an IP address is internal, as specified in RFC1918

Parameters ​

NameDescription
ipThe IP address that will be tested

Returns ​

Returns if the IP is internal, if it is external