mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
37 lines
682 B
C#
37 lines
682 B
C#
//
|
|
// PeerSecuritySettings.cs
|
|
//
|
|
// Author:
|
|
// Marcos Cobena ([email protected])
|
|
//
|
|
// 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;
|
|
}
|
|
}
|
|
}
|