SessionSettings¶
Configures a session before Session.Start().
public sealed class SessionSettings
{
public SessionSettings(string name, string storagePath);
public string Name { get; set; }
public string StoragePath { get; set; }
public uint? CpuCount { get; set; }
public uint? MemorySizeInMB { get; set; }
public TimeSpan? Timeout { get; set; }
public VhdOptions VhdRequirements { get; set; }
public bool EnableGpu { get; set; }
}
Notes:
CpuCount,MemorySizeInMB, andTimeoutare optional nullable values.Timeoutmust be positive and must fit in auint32millisecond count.VhdRequirementsis optional.
Example: