Merge pull request #3016 from lewurm/small-arm-cleanup
[mono.git] / mcs / tools / mono-configuration-crypto / cli / config.cs
1 using System;
2
3 namespace MonoConfigurationCrypto
4 {
5         sealed class Config
6         {
7                 public const string DefaultContainerName = "MonoFrameworkConfigurationKey";
8                 public const uint DefaultKeySize = 1024;
9                 public const string DefaultApplicationPhysicalPath = ".";
10                 public const string DefaultConfigFileName = "Web.config";
11                 
12                 public string ApplicationPhysicalPath {
13                         get;
14                         set;
15                 }
16                 
17                 public string ConfigSectionName {
18                         get;
19                         set;
20                 }
21
22                 public string ConfigFileName {
23                         get;
24                         set;
25                 }
26                 
27                 public string FileName {
28                         get;
29                         set;
30                 }
31                 
32                 public bool UseMachinePath {
33                         get;
34                         set;
35                 }
36
37                 public bool ShowHelp {
38                         get;
39                         set;
40                 }
41
42                 public string ContainerName {
43                         get;
44                         set;
45                 }
46
47                 public uint KeySize {
48                         get;
49                         set;
50                 }
51
52                 public bool Verbose {
53                         get;
54                         set;
55                 }
56                 
57                 public Config ()
58                 {
59                         ApplicationPhysicalPath = DefaultApplicationPhysicalPath;
60                         ContainerName = DefaultContainerName;
61                         ConfigFileName = DefaultContainerName;
62                         KeySize = DefaultKeySize;
63                 }
64         }
65 }