Created
March 12, 2021 23:04
-
-
Save Vatyx/92ac9254c2ed2569475e3825dda3e158 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string GetCurrentPathOfProjectWindow() | |
{ | |
Type projectWindowUtilType = typeof(ProjectWindowUtil); | |
MethodInfo getActiveFolderPath = projectWindowUtilType.GetMethod("GetActiveFolderPath", BindingFlags.Static | BindingFlags.NonPublic); | |
object obj = getActiveFolderPath.Invoke(null, new object[0]); | |
return obj.ToString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment