CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

RelativeFilePathsCalculator..::..TryComputeRelativePath Method

Tries the compute relative path.

Namespace:  CAS.Lib.CodeProtect
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


public static string TryComputeRelativePath(
	string BaseAbsolutePath,
	string RelativeToBeComputed
)
Public Shared Function TryComputeRelativePath ( _
	BaseAbsolutePath As String, _
	RelativeToBeComputed As String _
) As String
public:
static String^ TryComputeRelativePath(
	String^ BaseAbsolutePath, 
	String^ RelativeToBeComputed
)

Parameters

BaseAbsolutePath
Type: String
The base absolute path.
RelativeToBeComputed
Type: String
The relative to be computed.

Return Value

relative path if it was possible