Converting byte[] to DateTime returns a wrong year
<p>My application is a UWP app written in C#.
I need to open a stream from a file, read 8 bytes into a byte[], then convert the byte array to DateTime.
I'm using the following code:</p>

<pre><code>static public async Task&lt;DateTime&gt; GetDateTime(StorageFile FileName)
    {
        Stream inStream = await FileName.OpenStreamForReadAsync();
        byte[] dt = new byte[8];
        await inStream.ReadAsync(dt, 0, 8);
        long longDT = BitConverter.ToInt64(dt, 0);
        DateTime resDT = DateTime.FromBinary(longDT);
        return resDT;
    }
</code></pre>

<p>the bytes to read are:</p>

<pre><code>C0 3B 12 D1 68 8A D1 01
</code></pre>

<p>which should convert to "30/03/2016 09:44:55".</p>

<p>If I run my app, the code above returns "30/03/<strong>0416</strong> 09:44:55", with a difference of 1600 years.
What's wrong with my code?</p>