Ejemplo n.º 1
0
        private HITResourceGroup LoadHitGroup(string HITPath, string EVTPath, string HSMPath)
        {
            var events = new EVT(EVTPath);
            var hitfile = new HITFile(HITPath);
            HSM hsmfile = null;
            if (HSMPath != null) hsmfile = new HSM(HSMPath);

            return new HITResourceGroup()
            {
                evt = events,
                hit = hitfile,
                hsm = hsmfile
            };
        }
Ejemplo n.º 2
0
 public Hot(string Filepath, HSM myAsm)
 {
     AsmNames = myAsm;
     LoadFrom(File.ReadAllBytes(Filepath));
 }