Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# executing assembly path

public static string AssemblyDirectory
{
    get
    {
        string codeBase = Assembly.GetExecutingAssembly().CodeBase;
        UriBuilder uri = new UriBuilder(codeBase);
        string path = Uri.UnescapeDataString(uri.Path);
        return Path.GetDirectoryName(path);
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: hello in c# 
Csharp :: c# thread sleep 
Csharp :: remove first object from list c# 
Csharp :: unity how to reorder a list 
Csharp :: bluestacks unity black screen 
Csharp :: csharp datetime string format 
Csharp :: c# image to byte array 
Csharp :: unity 3d sound 
Csharp :: uuid generator asp.net 
Csharp :: move file from one folder to another c# 
Csharp :: C# aspnet how to run a migration 
Csharp :: c# read next int Like Java 
Csharp :: solution to fizzbuzz c# 
Csharp :: data table rename column c# 
Csharp :: unity move object to mouse position 
Csharp :: += meaning c# 
Csharp :: how to run c# code in visual studio code terminal 
Csharp :: what type of variable is true or false in c# 
Csharp :: c# get pixel color from image 
Csharp :: how to make teleporter in unity 
Csharp :: get time part from datetime as timestamp in c# 
Csharp :: c# datetimepicker set weeks after today 
Csharp :: how to convert from hexadecimal to binary in c# 
Csharp :: Check if two linked lists merge. If so, where? 
Csharp :: c# string is not null or empty 
Csharp :: if char is upper csharp 
Csharp :: regular expression for email in c# 
Csharp :: making a gui that can only be visible by owner roblox 
Csharp :: how to copy last element in list c# 
Csharp :: loop through string array c# 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =