public NetworkService(string name, Uri uri, bool is_protected, string cookie) { this.name = name; this.uri = UriFu.UriToEscapedString(uri); this.is_protected = is_protected; this.cookie = cookie; }
public void SetUri(System.Uri uri) { this.uri = UriFu.UriToEscapedString(uri); }