Checks the current instance for character sequences that can result in unauthorized access to resources, and removes them.
Operation
This method checks for invalid or dangerous character sequences in the components of the current instance, and removes them. The semantics that determine whether a character sequence presents a security risk are determined by the scheme of the current instance.The default implementation does nothing.
Note to Inheritors
Override this method to provide security checks for types derived from Uri.Usage
Invoke this method on instances of types derived from Uri to remove any URI content that allows unauthorized access to resources.
Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0