Ejemplo n.º 1
0
 public static NntpResponse Date(this INntpConnection connection)
 {
     return(connection.ExecuteCommand("DATE"));
 }
Ejemplo n.º 2
0
        public static NntpResponse Group(this INntpConnection connection, string group)
        {
            var command = string.Format("GROUP {0}", group);

            return(connection.ExecuteCommand(command));
        }
Ejemplo n.º 3
0
 public static NntpResponse Next(this INntpConnection connection)
 {
     return(connection.ExecuteCommand("NEXT"));
 }
Ejemplo n.º 4
0
 public static NntpResponse Last(this INntpConnection connection)
 {
     return(connection.ExecuteCommand("LAST"));
 }
Ejemplo n.º 5
0
 public static NntpResponse Quit(this INntpConnection connection)
 {
     return(connection.ExecuteCommand("QUIT"));
 }
Ejemplo n.º 6
0
 public static NntpResponse ModeReader(this INntpConnection connection)
 {
     return(connection.ExecuteCommand("MODE READER"));
 }
Ejemplo n.º 7
0
        public static NntpResponse AuthInfoUser(this INntpConnection connection, string username)
        {
            var command = string.Format("AUTHINFO USER {0}", username);

            return(connection.ExecuteCommand(command));
        }
Ejemplo n.º 8
0
        public static NntpResponse AuthInfoPass(this INntpConnection connection, string password)
        {
            var command = string.Format("AUTHINFO PASS {0}", password);

            return(connection.ExecuteCommand(command));
        }