Inheritance: OperationArgs
Esempio n. 1
0
        private static void WriteExtractOutput(ExtractArgs args)
        {
            // load pe
            var sourceHandle = LoadSource(args.SourcePath);

            // load resource data
            var resourceData = LoadResource(sourceHandle,
                                            args.ResourceType, args.ResourceName);

            // write resource data
            WriteResource(resourceData, args.OutputPath);
        }
Esempio n. 2
0
 private static void ValidateExtractArgs(ExtractArgs args)
 {
     ValidateOperationArgs(args);
 }
Esempio n. 3
0
        private static void WriteExtractOutput(ExtractArgs args)
        {
            // load pe
            var sourceHandle = LoadSource(args.SourcePath);

            // load resource data
            var resourceData = LoadResource(sourceHandle,
                args.ResourceType, args.ResourceName);

            // write resource data
            WriteResource(resourceData, args.OutputPath);
        }
Esempio n. 4
0
 private static void ValidateExtractArgs(ExtractArgs args)
 {
     ValidateOperationArgs(args);
 }