The purpose of this article is to explore the inside of the IMAP protocol and show you how to implement it with C#.
|
using System;
namespace HigLabo.Net
{
/// <summary>
///
/// </summary>
public class XmlAttribute
{
/// <summary>
///
/// </summary>
public string Key { get; set; }
/// <summary>
///
/// </summary>
public string Value { get; set; }
/// <summary>
///
/// </summary>
/// <param name="key"></param>
/// <param name="value"></param>
public XmlAttribute(string key, string value)
{
Key = key;
Value = value;
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public override string ToString()
{
return String.Format("{0}=\"{1}\"", Key, Value);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.