Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

relative path c#

var outPutDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly(). CodeBase);
var iconPath = Path.Combine(outPutDirectory, "FolderImg.jpg");
string icon_path = new Uri(iconPath ).LocalPath;
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #relative #path
ADD COMMENT
Topic
Name
5+3 =