SharpCifs.Smb.ServerMessageBlock.ReadTime C# (CSharp) Method

ReadTime() static private method

static private ReadTime ( byte src, int srcIndex ) : long
src byte
srcIndex int
return long
		internal static long ReadTime(byte[] src, int srcIndex)
		{
			int low = ReadInt4(src, srcIndex);
			int hi = ReadInt4(src, srcIndex + 4);
			long t = ((long)hi << (int)32L) | (low & unchecked((long)(0xFFFFFFFFL)));
			t = (t / 10000L - SmbConstants.MillisecondsBetween1970And1601);
			return t;
		}