Returns a relative path from an absolute path

Namespace: Skewworks.NETMF
Assembly: Skewworks.NETMF.Core (in Skewworks.NETMF.Core.dll) Version: 2.5.0.0 (2.5.0.0)

Syntax

C#
public static string RelativePath(
	string baseDirectory,
	string target
)

Parameters

baseDirectory
Type: System..::..String
Base (or current) directory to use when assembling relative path
target
Type: System..::..String
Absolute path to convert

Return Value

Type: String
Returns the relative path

See Also