-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfiguration.cs
48 lines (43 loc) · 1.07 KB
/
Configuration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
namespace WSB_Editor
{
/// <summary>
/// Configuration node
/// </summary>
[XmlRoot("Configuration")]
public class Configuration
{
public string VGpu { get; set; }
public string Networking { get; set; }
[XmlElement("MappedFolders")]
public MappedFolders mappedFolders;
[XmlElement("LogonCommand")]
public LogonCommand logonCommand;
}
/// <summary>
/// MappedFolders node
/// </summary>
public class MappedFolders
{
[XmlElement("MappedFolder")]
public List<MappedFolder> mappedFolder {get; set; }
}
/// <summary>
/// MappedFolder item
/// </summary>
public class MappedFolder
{
public string HostFolder { get; set; }
public string ReadOnly { get; set; }
}
/// <summary>
/// LogonCommand node
/// </summary>
public class LogonCommand
{
[XmlElement("Command")]
public List<string> Command { get; set; }
}
}