Class AppUtils
Provides helpers for a head's options.
public static class AppUtils
- Inheritance
-
AppUtils
- Inherited Members
Methods
GetAdapterName(string, bool)
Returns the VPN adapter's name, which only a desktop shows: the package title, with _dbg in a Debug
build, so a Debug build never takes over a release's adapter.
public static string GetAdapterName(string packageTitle, bool isDebugMode)
Parameters
packageTitlestringThe app's name without spaces (PackageTitle).
isDebugModebooltrue for a Debug build.
Returns
- string
The adapter's name.
GetAdapterName(AppOptions)
Returns the VPN adapter's name the app takes from a head's options: AdapterName, or else the name the package title gives.
public static string GetAdapterName(AppOptions options)
Parameters
optionsAppOptionsThe head's options.
Returns
- string
The adapter's name.