UrlUtilityInsertLocalePrefix Method

Inserts a locale prefix between Authority and PathAndQuery of the specified URL string.

Definition

Namespace: SMath.Manager.Network
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
C#
public static string InsertLocalePrefix(
	string url,
	string langAbbr
)

Parameters

url  String
URL string to handle. Will be parsed as Uri.
langAbbr  String
The value of Abbr to determine the locale prefix by.

Return Value

String
The resulting URL string.

See Also