Class Environment
- Namespace
- Lime
- Assembly
- Lime.dll
public static class Environment
- Inheritance
-
Environment
- Inherited Members
Methods
GetDataDirectory(string)
public static string GetDataDirectory(string appName)
Parameters
appName
string
Returns
GetDataDirectory(string, string, string)
public static string GetDataDirectory(string companyName, string appName, string appVersion)
Parameters
Returns
GetDesktopBounds()
public static Rectangle GetDesktopBounds()
Returns
GetDesktopSize()
public static Vector2 GetDesktopSize()
Returns
GetDownloadableContentDirectory(string)
public static string GetDownloadableContentDirectory(string appName)
Parameters
appName
string
Returns
GetDownloadableContentDirectory(string, string, string)
public static string GetDownloadableContentDirectory(string companyName, string appName, string appVersion)
Parameters
Returns
GetPathInsideDataDirectory(string, string)
public static string GetPathInsideDataDirectory(string appName, string path)
Parameters
Returns
OpenBrowser(string)
[Obsolete("Use OpenUrl() instead")]
public static void OpenBrowser(string url)
Parameters
url
string
OpenUrl(string)
public static void OpenUrl(string url)
Parameters
url
string
ShellExecute(string)
public static void ShellExecute(string url)
Parameters
url
string
ShowInFileManager(string)
Opens the system file manager and selects a file or folder
public static void ShowInFileManager(string path)
Parameters
path
stringAbsolute path to the file or folder