/// <summary> /// This method is used for estimating how many images the current resolution and size limit can support /// by taking sample screenshot /// </summary> /// <returns>Returns the size of the sample image taken.</returns> public long SampleScreenShot() { var sampleSession = new SnapshotSession(); sampleSession.CaptureScreen(true); return sampleSession.GetCurrentTotalSize(); }
public long SampleScreenShot() { SnapshotSession sample_session = new SnapshotSession(); return sample_session.CaptureScreen(); }