Show / Hide Table of Contents

Class NTTaggedData

Class handling NT date time values.

Inheritance
System.Object
NTTaggedData
Implements
ITaggedData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public class NTTaggedData : ITaggedData

Properties

| Improve this Doc View Source

CreateTime

Get /set the System.DateTime

Declaration
public DateTime CreateTime { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

LastAccessTime

Get /set the System.DateTime.

Declaration
public DateTime LastAccessTime { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

LastModificationTime

Get/set the System.DateTime.

Declaration
public DateTime LastModificationTime { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

TagID

Get the ID for this tagged data value.

Declaration
public ushort TagID { get; }
Property Value
Type Description
System.UInt16

Methods

| Improve this Doc View Source

GetData()

Get the binary data representing this instance.

Declaration
public byte[] GetData()
Returns
Type Description
System.Byte[]

The raw binary data representing this instance.

| Improve this Doc View Source

IsValidValue(DateTime)

Test a System.DateTime

Declaration
public static bool IsValidValue(DateTime value)
Parameters
Type Name Description
System.DateTime value

The System.DateTime to test.

Returns
Type Description
System.Boolean

Returns true if the value is valid and can be represented; false if not.

Remarks

NTFS filetimes are 64-bit unsigned integers, stored in Intel (least significant byte first) byte order. They determine the number of 1.0E-07 seconds (1/10th microseconds!) past WinNT "epoch", which is "01-Jan-1601 00:00:00 UTC". 28 May 60056 is the upper limit

| Improve this Doc View Source

SetData(Byte[], Int32, Int32)

Set the data from the raw values provided.

Declaration
public void SetData(byte[] data, int index, int count)
Parameters
Type Name Description
System.Byte[] data

The raw data to extract values from.

System.Int32 index

The index to start extracting values from.

System.Int32 count

The number of bytes available.

Implements

ITaggedData
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors