﻿

namespace System
{
    public enum UriKind
    {
        RelativeOrAbsolute,
        Absolute,
        Relative
    }
    public enum UriFormat
    {
        SafeUnescaped = 3,
        Unescaped = 2,
        UriEscaped = 1
    }

    [Flags]
#if NET_2_0
    public
#endif
    enum UriComponents
    {

        Scheme = 1,
        UserInfo = 2,
        Host = 4,
        Port = 8,
        Path = 16,
        Query = 32,
        Fragment = 64,
        StrongPort = 128,
        KeepDelimiter = 0x40000000,

        HostAndPort = Host | StrongPort,
        StrongAuthority = Host | UserInfo | StrongPort,
        AbsoluteUri = Scheme | UserInfo | Host | Port | Path | Query | Fragment,
        PathAndQuery = Path | Query,
        HttpRequestUrl = Scheme | Port | Host | Path | Query,
        SchemeAndServer = Scheme | Host | Port,
        SerializationInfoString = Int32.MinValue
    }
}
