For desktop screenshots, divide them into 16*8 pictures of the same size, and compare the screenshots with the original ones. If they are the same, they will not be sent. If they are different, they will be sent and overwritten.
001
/*http://home.cnblogs.com/yangleiWPF/*/
002
using
System;
003
using
System.Collections.Generic;
004
using
System.Linq;
005
using
System.Text;
006
using
System.Windows;
007
using
System.Windows.Controls;
008
using
System.Windows.Data;
009
using
System.Windows.Documents;
010
using
System.Windows.Input;
011
using
System.Windows.Media;
012
using
System.Windows.Media.Imaging;
013
using
System.Windows.Navigation;
014
using
System.Windows.Shapes;
015
using
System.IO;
016
using
System.Drawing;
017
using
System.Runtime.InteropServices;
018
using
System.Threading;
019
using
System.Drawing.Imaging;
020
021
namespace
photoText
022
{
023
/// <summary>
024
/// Interaction logic of Window1.xaml
025
/// </summary>
026
public
partial
class
Window1 : Window
027
{
028
private
delegate
void
UpImageCall(ImageSource Isource);
029
private
UpImageCall upimage;