Example #1
0
        public void SetLastAccessed(long lastAccessed)
        {
            LittleEndian.SetInt16(data, 0x12,
                                  DosUtils.EncodeDate(lastAccessed));

            dirty = true;
        }
Example #2
0
        public void SetLastModified(long lastModified)
        {
            LittleEndian.SetInt16(data, 0x16,
                                  DosUtils.EncodeTime(lastModified));
            LittleEndian.SetInt16(data, 0x18,
                                  DosUtils.EncodeDate(lastModified));

            dirty = true;
        }
Example #3
0
        public void SetCreated(long created)
        {
            LittleEndian.SetInt16(data, 0x0e,
                                  DosUtils.EncodeTime(created));
            LittleEndian.SetInt16(data, 0x10,
                                  DosUtils.EncodeDate(created));

            dirty = true;
        }