NET Link Tracker
UrlCombineSafe Method
Example 



KellermanSoftware.NetLinkTracker Namespace > LinkLogic Class : UrlCombineSafe Method
The base URL
A url that comes after the base
Combine a base url with a partial url, allowing for nulls. This is used internally with BaseUrl
Syntax
'Declaration
 
Public Function UrlCombineSafe( _
   ByVal baseUrl As String, _
   ByVal url As String _
) As String
'Usage
 
Dim instance As LinkLogic
Dim baseUrl As String
Dim url As String
Dim value As String
 
value = instance.UrlCombineSafe(baseUrl, url)
public string UrlCombineSafe( 
   string baseUrl,
   string url
)
public:
String^ UrlCombineSafe( 
   String^ baseUrl,
   String^ url
) 

Parameters

baseUrl
The base URL
url
A url that comes after the base

Return Value

A combined URL
Example
LinkLogic linkLogic = new LinkLogic(); //Trial Mode
LinkLogic linkLogicLicensed = new LinkLogic("place user name here", "place license key here");  //License Mode
 
string url = linkLogic.UrlCombineSafe("http://www.kellermansoftware.com", "products/net-link-tracker");
 
Console.WriteLine(url);
Dim linkLogic As New LinkLogic() 'Trial Mode
Dim linkLogicLicensed As New LinkLogic("place user name here", "place license key here") 'License Mode
 
Dim url As String = linkLogic.UrlCombineSafe("http://www.kellermansoftware.com", "products/net-link-tracker")
 
Console.WriteLine(url)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LinkLogic Class
LinkLogic Members