UtilPeHeaderGetTimeStamp(String) Method
Gets the compilation timestamp of the specified .NET assembly.
Namespace: DevCase.Core.Diagnostics.AssemblyAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static DateTimeOffset GetTimeStamp(
string filepath
)
Public Shared Function GetTimeStamp (
filepath As String
) As DateTimeOffset
Dim filepath As String
Dim returnValue As DateTimeOffset
returnValue = UtilPeHeader.GetTimeStamp(filepath)
public:
static DateTimeOffset GetTimeStamp(
String^ filepath
)
static member GetTimeStamp :
filepath : string -> DateTimeOffset
No code example is currently available or this language may not be supported.
- filepath String
-
The assembly file path.
DateTimeOffset
The resulting timestamp.
This is a code example.
No code example is currently available or this language may not be supported.
Dim assemblyPath As String = "C:\Assembly.exe"
Dim timeStamp As DateTimeOffset = GetTimeStamp(assemblyPath)
Console.WriteLine(timeStamp.ToString("dd/MMMM/yyyy HH:mm:ss", CultureInfo.InvariantCulture))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.