/* * public struct StatsEntry * { * public double time; * public int size; * } */ public VNCStream(IVNCGraphicsClient client, Stream stream, bool startPaused) { this.client = client; this.stream = new MyStream(stream); this.paused = startPaused; long freq; if (!Win32.QueryPerformanceFrequency(out freq)) { System.Diagnostics.Trace.Assert(false); } imageUpdateThreshold = freq / 3; }
/* public struct StatsEntry { public double time; public int size; } */ public VNCStream(IVNCGraphicsClient client, Stream stream, bool startPaused) { this.client = client; this.stream = new MyStream(stream); this.paused = startPaused; long freq; if (!Win32.QueryPerformanceFrequency(out freq)) { System.Diagnostics.Trace.Assert(false); } imageUpdateThreshold = freq / 3; }