LeeHebert337
2/3/2017 - 6:13 PM

C# Example with creating a Folder

C# Example with creating a Folder

private string getMyDataPath() { return Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\" + Application.ProductName + "\\"; }
 public void init()
        {
            
            string myPath = getMyDataPath();
            if (!Directory.Exists(myPath))
            {
                Directory.CreateDirectory(myPath);
            }
        }