Get the current Directory

ID - _BUGFISH - E#39
^Top
<< Back
Mobile-Menu










Get the current Directory
Category: C-Sharp
Sub-Category:
Creator: Jan-Maurice Dahlmanns
Created: 2020-08-25 19:25:09
Modified: 2024-11-17 03:28:12
Views: 737

Caution: I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.

 Here the code to get the current Directory!

string path = Directory.GetCurrentDirectory();


See more detailed Info here:
https://docs.microsoft.com/de-de/dotnet/api/system.io.directory.getcurrentdirectory?view=netcore-3.1

 

 

Currently 0 Upvotes!

captcha image
System - 2024-11-05 18:29:30
Commenting System Initialized! Have a very nice day!

Switches: 0 | Arrivals: 5 | Visits: 5
This Website is using Session Cookies for Site Functionality.