Nevron.Nov Namespace / NUriHelpers Class / TryGetUnixUri Method
A Unix path, for example "/home/file.txt". If the path is not rooted (e.g. "home/file.txt"), a forward slash is prepended to it.
In This Topic
    TryGetUnixUri Method
    In This Topic
    Tries to get an URI for the given Unix path.
    Syntax
    public static System.bool TryGetUnixUri( 
       System.string unixPath,
       out System.Uri uri
    )

    Parameters

    unixPath
    A Unix path, for example "/home/file.txt". If the path is not rooted (e.g. "home/file.txt"), a forward slash is prepended to it.
    uri
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also