Files
ZuneShell.dll/ZuneDBApi/MicrosoftZuneLibrary/WlanAuthCipherPair.cs
T

67 lines
990 B
C#

using System;
using System.Runtime.InteropServices;
namespace MicrosoftZuneLibrary
{
public class WlanAuthCipherPair : IDisposable
{
private WirelessAuthenticationTypes m_Auth;
private WirelessCiphers m_Cipher;
public WirelessCiphers Cipher
{
get
{
return m_Cipher;
}
set
{
m_Cipher = value;
}
}
public WirelessAuthenticationTypes Auth
{
get
{
return m_Auth;
}
set
{
m_Auth = value;
}
}
public WlanAuthCipherPair(WirelessAuthenticationTypes auth, WirelessCiphers cipher)
{
m_Cipher = cipher;
m_Auth = auth;
}
public WlanAuthCipherPair()
{
m_Auth = WirelessAuthenticationTypes.Open;
m_Cipher = WirelessCiphers.None;
}
private void _007EWlanAuthCipherPair()
{
}
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
{
if (!P_0)
{
Finalize();
}
}
public sealed override void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
}
}