SharpCifs.Smb.SmbFile.GetCanonicalPath C# (CSharp) Method

GetCanonicalPath() public method

Returns the full URL of this SMB resource with '.' and '..' components factored out.
Returns the full URL of this SMB resource with '.' and '..' components factored out. An SmbFile constructed with the result of this method will result in an SmbFile that is equal to the original.
public GetCanonicalPath ( ) : string
return string
        public virtual string GetCanonicalPath()
        {
            string str = Url.Authority;
            GetUncPath0();
            if (str.Length > 0)
            {
                return "smb://" + Url.Authority + _canon;
            }
            return "smb://";
        }