コード例 #1
0
 private static bool IsSteamFile20(string file)
 {
     Steamless.Unpacker.Variant20.x86.Main m = new Steamless.Unpacker.Variant20.x86.Main();
     m.Initialize(m_LoggingService);
     if (m.CanProcessFile(file))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
        private static bool ProcessSteamFile20(string file)
        {
            SteamlessOptions s = new SteamlessOptions
            {
                VerboseOutput       = false,
                KeepBindSection     = false,
                DumpPayloadToDisk   = false,
                DumpSteamDrmpToDisk = false
            };

            Steamless.Unpacker.Variant20.x86.Main m = new Steamless.Unpacker.Variant20.x86.Main();
            m.Initialize(m_LoggingService);
            if (m.ProcessFile(file, s))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }