private void ParseAsWindowsUNC (string uriString)
{
scheme = UriSchemeFile;
port = -1;
fragment = String.Empty;
query = String.Empty;
isUnc = true;
uriString = uriString.TrimStart (new char [] {'\\'});
int pos = uriString.IndexOf ('\\');
if (pos > 0) {
path = uriString.Substring (pos);
host = uriString.Substring (0, pos);
} else { // "\\\\server"
host = uriString;
path = String.Empty;
}
path = path.Replace ("\\", "/");
}