Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 10 additions & 110 deletions src/Microsoft.WSMan.Runtime/WSManSessionOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,153 +28,53 @@ public sealed class SessionOption
/// <summary>
/// Property.
/// </summary>
public bool SkipCACheck
{
get { return _SkipCACheck; }

set
{
_SkipCACheck = value;
}
}

private bool _SkipCACheck;
public bool SkipCACheck { get; set; }

/// <summary>
/// Property.
/// </summary>
public bool SkipCNCheck
{
get { return _SkipCNCheck; }

set
{
_SkipCNCheck = value;
}
}

private bool _SkipCNCheck;
public bool SkipCNCheck { get; set; }

/// <summary>
/// Property.
/// </summary>
public bool SkipRevocationCheck
{
get { return _SkipRevocationCheck; }

set
{
_SkipRevocationCheck = value;
}
}

private bool _SkipRevocationCheck;
public bool SkipRevocationCheck { get; set; }

/// <summary>
/// Property.
/// </summary>
public bool UseEncryption
{
get { return _useencryption; }

set
{
_useencryption = value;
}
}

private bool _useencryption = true;
public bool UseEncryption { get; set; } = true;

/// <summary>
/// Property.
/// </summary>
public bool UseUtf16
{
get { return _UTF16; }

set
{
_UTF16 = value;
}
}

private bool _UTF16;
public bool UseUtf16 { get; set; }

/// <summary>
/// Property.
/// </summary>
public ProxyAuthentication ProxyAuthentication
{
get { return _ProxyAuthentication; }

set
{
_ProxyAuthentication = value;
}
}

private ProxyAuthentication _ProxyAuthentication;
public ProxyAuthentication ProxyAuthentication { get; set; }

/// <summary>
/// Property.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "SPN")]
public int SPNPort
{
get { return _SPNPort; }

set
{
_SPNPort = value;
}
}

private int _SPNPort;
public int SPNPort { get; set; }

/// <summary>
/// Property.
/// </summary>
public int OperationTimeout
{
get { return _OperationTimeout; }

set
{
_OperationTimeout = value;
}
}

private int _OperationTimeout;
public int OperationTimeout { get; set; }

/// <summary>
/// Property.
/// </summary>
public NetworkCredential ProxyCredential
{
get { return _ProxyCredential; }

set
{
_ProxyCredential = value;
}
}

private NetworkCredential _ProxyCredential;
public NetworkCredential ProxyCredential { get; set; }

/// <summary>
/// Property.
/// </summary>
public ProxyAccessType ProxyAccessType
{
get { return _proxyaccesstype; }

set
{
_proxyaccesstype = value;
}
}

private ProxyAccessType _proxyaccesstype;
public ProxyAccessType ProxyAccessType { get; set; }
}

/// <summary>
Expand Down