Categories > Coding > C# >

Finding the directory of your c# application

Posts: 17

Threads: 6

Joined: Dec, 2017

Reputation: 0

Posted

If you are making an exploit that has a listbox, just know that to go inside of the applications directory you just have to do a .\foldernamehereinsidethedirectory

  • 0

Merlinux

Merlinux

Posts: 6

Threads: 0

Joined: Feb, 2019

Reputation: 0

Replied

you are allrady in that folder... you just have to go into an sub folder or TMP folder 

  • 0

Posts: 2

Threads: 1

Joined: Jun, 2018

Reputation: 0

Replied

string path = AppDomain.CurrentDomain.BaseDirectory; // string is now C:\Users\Admin\source\repos\Test\Test\bin\Debug\

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )