コード例 #1
0
 /// <summary>
 /// Returns the canonical name for shared access.
 /// </summary>
 /// <returns>The canonical name.</returns>
 private string GetSharedAccessCanonicalName()
 {
     if (this.ServiceClient.UsePathStyleUris)
     {
         return(this.Uri.AbsolutePath);
     }
     else
     {
         return(NavigationHelper.GetCanonicalPathFromCreds(this.ServiceClient.Credentials, this.Uri.AbsolutePath));
     }
 }