getOffset() public method

public getOffset ( ) : string
return string
Beispiel #1
0
        void extracgReg(string imgpath, string dbname, int partno)
        {
            DiskImgInfo d = partInfo[partno];

            string dOffset = d.getOffset();

            Process          p   = new Process();
            ProcessStartInfo psi = new ProcessStartInfo("extreg.exe");

            psi.Arguments = String.Format("\"{0}\" \"{1}\" \"{2}\"", imgpath, dOffset, dbname);

            p.StartInfo = psi;
            p.Start();
            p.WaitForExit();
        }
Beispiel #2
0
Datei: ioaf.cs Projekt: hvva/IoAF
        private void fls4root(string imgPATH, DiskImgInfo part)
        {
            Process p = new Process();
            ProcessStartInfo psi = new ProcessStartInfo(".\\tsk\\fls.exe");

            Console.Clear();

            psi.Arguments = "-rp -o " + part.getOffset() + " \"" + imgPATH + "\"";
            psi.RedirectStandardOutput = true;
            psi.UseShellExecute = false;

            psi.CreateNoWindow = true;

            p.StartInfo = psi;
            p.EnableRaisingEvents = true;
            p.OutputDataReceived += p_OutputDataReceived;
            p.Start();
            p.BeginOutputReadLine();
            p.WaitForExit();
            Console.WriteLine("\n");
        }
Beispiel #3
0
        private void fls4root(string imgPATH, DiskImgInfo part)
        {
            Process          p   = new Process();
            ProcessStartInfo psi = new ProcessStartInfo(".\\tsk\\fls.exe");


            Console.Clear();

            psi.Arguments = "-rp -o " + part.getOffset() + " \"" + imgPATH + "\"";
            psi.RedirectStandardOutput = true;
            psi.UseShellExecute        = false;

            psi.CreateNoWindow = true;

            p.StartInfo           = psi;
            p.EnableRaisingEvents = true;
            p.OutputDataReceived += p_OutputDataReceived;
            p.Start();
            p.BeginOutputReadLine();
            p.WaitForExit();
            Console.WriteLine("\n");
        }