using System;
namespace LANCommander.Interposer.Events
{
///
/// Data for network connection events (connect, send/recv address discovery).
///
public sealed class NetworkEventArgs : EventArgs
{
/// The IP address or hostname.
public string Address { get; }
/// The port number (0 if unknown).
public int Port { get; }
internal NetworkEventArgs(string address, int port)
{
Address = address;
Port = port;
}
}
}