add ISafeSerializationData
[mcs.git] / tools / mono-configuration-crypto / cli / config.cs
blob775982651f4a18b0362a8e7a004c3ee639ca3ec9
1 using System;
3 namespace MonoConfigurationCrypto
5 sealed class Config
7 public const string DefaultContainerName = "MonoFrameworkConfigurationKey";
8 public const uint DefaultKeySize = 1024;
9 public const string DefaultApplicationPhysicalPath = ".";
10 public const string DefaultConfigFileName = "Web.config";
12 public string ApplicationPhysicalPath {
13 get;
14 set;
17 public string ConfigSectionName {
18 get;
19 set;
22 public string ConfigFileName {
23 get;
24 set;
27 public string FileName {
28 get;
29 set;
32 public bool UseMachinePath {
33 get;
34 set;
37 public bool ShowHelp {
38 get;
39 set;
42 public string ContainerName {
43 get;
44 set;
47 public uint KeySize {
48 get;
49 set;
52 public bool Verbose {
53 get;
54 set;
57 public Config ()
59 ApplicationPhysicalPath = DefaultApplicationPhysicalPath;
60 ContainerName = DefaultContainerName;
61 ConfigFileName = DefaultContainerName;
62 KeySize = DefaultKeySize;