예제 #1
0
        public file(wsusUpdate parent, updateFile src)
        {
            this.sourceFilename = parent.filename;
            this.filename       = src.filename;
            this.filelocation   = src.filelocation;
            this.fileextension  = src.fileextension;
            this.hash_sha256    = src.hash_sha256;
            this.size           = (long)src.size;
            this.pe_sizeOfCode  = toNullableBinary(src.pe_sizeOfCode);
            this.pe_timestamp   = toNullableBinary(src.pe_timedatestamp);
            this.pe_magicType   = toNullableBinary(src.pe_magicType);
            this.contents128b   = src.contents128b;

            this.rsds_GUID                 = src.rsds_GUID;
            this.rsds_age                  = (int)src.rsds_age;
            this.rsds_filename             = src.rsds_filename;
            this.authenticode_certfriendly = src.authenticode_certfriendly;
            this.authenticode_certsubj     = src.authenticode_certsubj;
            this.FileDescription           = src.FileDescription;
            this.FileVersion               = src.FileVersion;
            this.ProductName               = src.ProductName;
            this.ProductVersion            = src.ProductVersion;
            this.Comments                  = src.Comments;
            this.CompanyName               = src.CompanyName;
        }
예제 #2
0
        public file_wimInfo(wsusUpdate grandparent, updateFile source, fileSource_wim parent)
        {
            fileInfo = new file(grandparent, source);

            this.parent = parent;
        }