Backup/邮件2/QuitCommand.cs
(完整代码) 885Busing System.IO;
namespace DotNet.Utilities
{
/// <summary>
/// This class represents the Pop3 QUIT command.
/// </summary>
internal sealed class QuitCommand : Pop3Command<Pop3Response>
{
/// <summary>
/// Initializes a new instance of the <see cref="QuitCommand"/> class.
/// </summary>
/// <param name="stream">The stream.</param>
public QuitCommand(Stream stream)
: base(stream, false, Pop3State.Transaction | Pop3State.Authorization) { }
/// <summary>
/// Creates the Quit request message.
/// </summary>
/// <returns>
/// The byte[] containing the QUIT request message.
/// </returns>
protected override byte[] CreateRequestMessage()
{
return GetRequestMessage(Pop3Commands.Quit);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
