Table of Contents

Class NetUtil

Namespace
Vintagestory.API.Util
Assembly
VintagestoryAPI.dll
public static class NetUtil
Inheritance
NetUtil
Inherited Members

Methods

IsPrivateIp(string)

public static bool IsPrivateIp(string ip)

Parameters

ip string

Returns

bool

OpenUrlInBrowser(string)

public static void OpenUrlInBrowser(string url)

Parameters

url string

getUriInfo(string, out string)

Extracts hostname, port and password from given uri. Error will be non null if the uri is incorrect in some ways

public static UriInfo getUriInfo(string uri, out string error)

Parameters

uri string
error string

Returns

UriInfo