예제 #1
0
 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;
 }
예제 #2
0
 public void SetUri(System.Uri uri)
 {
     this.uri = UriFu.UriToEscapedString(uri);
 }
예제 #3
0
 public System.Uri GetUri()
 {
     return(UriFu.EscapedStringToUri(uri));
 }