UrlUtilityPrepareWorkingServerUrl Method
Parses the specified string as an absolute URI and preserves only its starting part which can be considered
as valid WorkingServerUrl.
-
Unless the string is parsed as Uri of type Absolute it is returned without any changes.
-
If a valid culture name is found in AbsolutePath then the found culture name and all subsequent path segments are removed.
- Query is always removed.
Namespace: SMath.Manager.NetworkAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
public static string PrepareWorkingServerUrl(
string url
)
Public Shared Function PrepareWorkingServerUrl (
url As String
) As String
public:
static String^ PrepareWorkingServerUrl(
String^ url
)
static member PrepareWorkingServerUrl :
url : string -> string
- url String
- URL string to handle.
StringURL which is prepared for use in
WorkingServerUrl property.