// Telenor Inpli TFTP Server Module
//
// Copyright 2018 Telenor Inpli AS Norway
namespace libtftp
{
using System;
using System.IO;
using System.Net;
///
/// Callback event arguments required for processing a TFTP read request
///
public class TftpGetStreamEventArgs : EventArgs
{
///
/// Session Id
///
public Guid Id { get; set; }
///
/// The remote host requesting the read
///
public IPEndPoint RemoteHost { get; set; }
///
/// The filename requested by the remote host
///
public string Filename { get; set; }
///
/// The stream to transfer to the remote host. This is provided by the callback.
///
public Stream Result { get; set; }
}
}