Initial Commit ...
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace xCommons.Models {
|
||||
public partial class XCertificate {
|
||||
public string Path { get; set; }
|
||||
public string Secret { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace xCommons.Models {
|
||||
public class XLoggerModel {
|
||||
public string Schema { get; set; }
|
||||
public string Host { get; set; }
|
||||
public string Path { get; set; }
|
||||
public string Method { get; set; }
|
||||
public string UserID { get; set; }
|
||||
public string QueryString { get; set; }
|
||||
public IHeaderDictionary Headers { get; set; }
|
||||
public string Request { get; set; }
|
||||
public int StatusCode { get; set; }
|
||||
public bool IsSucceed { get; set; }
|
||||
public string Response { get; set; }
|
||||
public DateTime RequestedOn { get; set; }
|
||||
public DateTime RespondedOn { get; set; }
|
||||
public XLoggerHttpConnection Connection { get; set; }
|
||||
}
|
||||
|
||||
public class XLoggerHttpConnection {
|
||||
public string Id { get; set; }
|
||||
public string RemoteIpAddress { get; set; }
|
||||
public string RemotePort { get; set; }
|
||||
public string LocalIpAddress { get; set; }
|
||||
public string LocalPort { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xCommons.Models {
|
||||
public class XNetworkInfo {
|
||||
/// <summary>
|
||||
/// Network Name ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Network Description ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// IP Address which Exists on Current Network ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string IP { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Current Networks Gateway Address ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string Gateway { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Network Interface Object ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public NetworkInterface NetworkInterface { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user