Class SetupSettings
Inheritance
System.Object
SetupSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Foundation
Assembly: Simplic.Framework.Foundation.dll
Syntax
public class SetupSettings
Properties
| Improve this Doc View SourceSingleton
Declaration
public static SetupSettings Singleton { get; }
Property Value
Type | Description |
---|---|
SetupSettings |
Methods
| Improve this Doc View SourceGetClouseUser(String)
Get Cloud-User
Declaration
public CloudUserInfo GetClouseUser(string ConnectionStringName)
Parameters
Type | Name | Description |
---|---|---|
System.String | ConnectionStringName |
Returns
Type | Description |
---|---|
CloudUserInfo |
GetConfigValue(String, String, String, String)
Get Config Value
Declaration
public string GetConfigValue(string ProductName, string UserName, string ConfigName, string ConnectionStringName)
Parameters
Type | Name | Description |
---|---|---|
System.String | ProductName | Product |
System.String | UserName | UserName |
System.String | ConfigName | Config Name |
System.String | ConnectionStringName | Verbindungszeichenfolge |
Returns
Type | Description |
---|---|
System.String | Return a configuration Value, if no value is set, the Method return null |
GetProductVersion(String, String)
Declaration
[Obsolete("Deprecated use Simplic.Framework.Core.VersionController instead.")]
public Version GetProductVersion(string ProductName, string ConnectionStringName)
Parameters
Type | Name | Description |
---|---|---|
System.String | ProductName | |
System.String | ConnectionStringName |
Returns
Type | Description |
---|---|
System.Version |
IsRunningAsLocalAdmin()
Check wether the program run als administrator
Declaration
public bool IsRunningAsLocalAdmin()
Returns
Type | Description |
---|---|
System.Boolean |
SetCloudUser(String, String, String, String, String)
Set Cloud-User
Declaration
public void SetCloudUser(string Signatur, string OnlineUser, string OnlineCustomer, string RootServerName, string ConnectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | Signatur | |
System.String | OnlineUser | |
System.String | OnlineCustomer | |
System.String | RootServerName | |
System.String | ConnectionString |
SetConfigValue(String, String, String, String, String)
Set a configuration value
Declaration
public void SetConfigValue(string ProductName, string UserName, string ConfigName, string ConfigValue, string ConnectionStringName)
Parameters
Type | Name | Description |
---|---|---|
System.String | ProductName | ProductName |
System.String | UserName | UserName |
System.String | ConfigName | ConfigName |
System.String | ConfigValue | ConfigValue |
System.String | ConnectionStringName | ConnectionString |
SetProductVersion(String, Version, String)
Declaration
[Obsolete("Deprecated use Simplic.Framework.Core.VersionController instead.")]
public void SetProductVersion(string ProductName, Version Version, string ConnectionStringName)
Parameters
Type | Name | Description |
---|---|---|
System.String | ProductName | |
System.Version | Version | |
System.String | ConnectionStringName |