Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

37 lines
682 B
C#

//
// PeerSecuritySettings.cs
//
// Author:
// Marcos Cobena (marcoscobena@gmail.com)
//
// Copyright 2007 Marcos Cobena (http://www.youcannoteatbits.org/)
//
using System;
namespace System.ServiceModel
{
public class PeerSecuritySettings
{
SecurityMode mode;
public PeerSecuritySettings ()
{
Transport = new PeerTransportSecuritySettings ();
}
public SecurityMode Mode {
get { return mode; }
set { mode = value; }
}
public PeerTransportSecuritySettings Transport { get; private set; }
internal void CopyTo (PeerSecuritySettings other)
{
other.mode = mode;
other.Transport.CredentialType = Transport.CredentialType;
}
}
}