dotnet / dotnet/dotnet-api-docs
So..the C# conversion routines that says "FromFileTime" doesn't actually work with a FILETIME
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
There's a C++ FILETIME construct in Windows. What I was actually looking for was a way to convert that sort of structure into a nice C# version. Instead I get something that would work, if only I could convert a FILETIME into a 64-bit long. Which I can't.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 2004c879-1453-ce09-7723-4b6b8d4cc455
* Version Independent ID: cc6c02a8-9c8e-3a06-f577-c8ea51e484e0
* Content: [DateTime.FromFileTime(Int64) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.datetime.fromfiletime?view=netframework-4.7.2)
* Content Source: [xml/System/DateTime.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/DateTime.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.