Nevron.Nov Namespace / NUriHelpers Class / SafeGetLocalPath Method
In This Topic
    SafeGetLocalPath Method
    In This Topic
    Gets the local path of the given file URI in the specified path notation. Works for relative URIs, too. Returns an empty string if it couldn't get the local path of the URI.
    Syntax
    public static System.string SafeGetLocalPath( 
       System.Uri uri,
       ENPathNotation pathNotation
    )

    Parameters

    uri
    pathNotation
    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