Skip to content

BizArk.Core.Application.GetPath

Brian Brewder edited this page Apr 1, 2017 · 2 revisions

Back to BizArk.Core.Application

Returns an absolute path relative to the ExePath. This method works with both directory and file relative paths. If the path is actually absolute, it will return the absolute path.

Example: If your ExePath is C:\Path\To\MyAwesomeTool.exe...

var mypath = @"..\..\My\Other\Path";
mypath = BizArk.Core.Application.GetPath(mypath);

// Prints "C:\My\Other\Path"
Console.WriteLine(mypath);

Clone this wiki locally