AnyUri.Normalize MethodAnyUri.Normalize MethodAnyUri::Normalize Method

Returns a normalized string representation of the current instance.

Syntax

Public Function Normalize() As String
public string Normalize()
public:
String^ Normalize()
 

Return Value

Type: System.StringSystem.StringSystem::String^

A normalized string representation of the current instance.

Remarks

The following techniques are used to normalize the URI:

  • Case normalization of URI scheme, and percent-encoded values.
  • Omission of default ports for some schemes (eg. port 21 for the ftp scheme.
  • Percent encoding normalization.
  • Resolution of dot-segments (.. and . path segments)/
  • Normalization of '/' and '\' characters in file: paths.