I hava a large log C# file. My client complained that some SessionIds are 00000000-0000-0000-0000-000000000000. First method
public static StartServiceLog CreateStartServiceLog(string serviceName, Guid sessionId = new Guid(), Device device = null, string userId = null)
{
if (device == null)
{
device = CreateDeviceInfo();
}
return new StartServiceLog(device, DateTime.UtcNow, sessionId, userId, new List<string>() { serviceName });
}
I call this method
var session = new StartSessionLog
{
Sid = sessionId,
Device = device,
Timestamp = DateTime.UtcNow,
};
return session;
How to find out when SessionIds are going to have all zeros or will be overwritten?