91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 870KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-06-09
  • 語言: C#
  • 標簽:

資源簡介

P2P方式連接其他電腦,穿透內(nèi)網(wǎng),兩個在不通地方的機器之間可以直接連接。不需要對方有公網(wǎng)IP。 遠程協(xié)助組件SDK 4.06支持剪切板文字復制粘帖。 新版簡化了文件傳輸,可直接從遠程復制粘帖到本地文件,拖動本地文件到遠程指定目錄。二次開發(fā)更簡單。

資源截圖

代碼片段和文件信息

/*
?*?Created?by?SharpDevelop.
?*?User:?csm
?*?Date:?2009-7-8
?*?Time:?19:03
?*?
?*?To?change?this?template?use?Tools?|?Options?|?Coding?|?Edit?Standard?Headers.
?*/
using?System;
using?System.Collections.Generic;
using?System.Drawing;
using?System.Windows.Forms;
using?System.Runtime.InteropServices?;
using?System.Text;
using?System.Resources;
using?System.Reflection?;
namespace?ScreenChatDemo
{
///?
///?Description?of?MainForm.
///?

public?partial?class?MainForm?:?Form
{
//用戶接口
//1:創(chuàng)建視頻窗口,參數(shù):父窗口;返回:創(chuàng)建的視頻窗口。
[DllImport(“NNScreen.dll“)]
public?static?extern?Int32?NNSCreateWindow(IntPtr?Int32Parent);
//2:刪除視頻窗口,退出程序時調(diào)用。
[DllImport(“NNScreen.dll“)]
public?static?extern?void?NNSDestory();
//3:登陸服務器,參數(shù):服務器IP,授權(quán)序列號。
[DllImport(“NNScreen.dll“)]
public?static?extern?Int32?NNSLogin(String?strIPString?strSerial);
//4:發(fā)起連接。參數(shù):對方ID連接失敗后是否通過服務器中轉(zhuǎn).
[DllImport(“NNScreen.dll“)]
public?static?extern?Int32?NNSConnect(String?strUserInt32?bUserServer);
[DllImport(“NNScreen.dll“)]
public?static?extern?Int32?NNSConnectName(String?strUserInt32?bUserServer);
//5:停止會話
[DllImport(“NNScreen.dll“)]
public?static?extern?void?NNSStopChat();
//6:獲取狀態(tài)。參數(shù):狀態(tài)類型:NNTYPE_CURRENTNNTYPE_ONLINENNTYPE_DEVICENNTYPE_ID
//注意返回值不能修改.
[DllImport(“NNScreen.dll“)]
public?static?extern?String?NNSGetStatus(int?nType);?
????????[DllImport(“NNScreen.dll“)]
????????public?static?extern?int?NNSGetStatusVB(int?nType?StringBuilder?pBuf);
????????
//7:設(shè)置顏色深度和是否接收對方鼠標控制.設(shè)置顏色深度分別為4816.設(shè)置是否接收鼠標為1或0
[DllImport(“NNScreen.dll“)]
public?static?extern?int?NNSSetDevice(int?nDevice);
//8:是否通服務器中轉(zhuǎn)如果雙方不能直連,在允許的情況下會通過服務器中轉(zhuǎn)。
[DllImport(“NNScreen.dll“)]
public?static?extern?Int32?NNSIsFromServer();

//10:初始化視頻設(shè)備.參數(shù):本地視頻窗口可忽略
[DllImport(“NNScreen.dll“)]
public?static?extern?int?NNSInitVideoDevice(IntPtr?Int32Showint?nDevice);

//11,發(fā)送文字,收到后會調(diào)用上面設(shè)置的回調(diào)函數(shù).參數(shù):用戶ID,要發(fā)送的數(shù)據(jù),長度,用戶自定義類型標識。
????[DllImport(“NNScreen.dll“)]
????public?static?extern?int?NNSSendData(String?strUserString?strText?int?nLen??byte?nType);
????[DllImport(“NNScreen.dll“)]
????public?static?extern?int?NNSSendDataName(String?strUserString?strText?int?nLen??byte?nType);
????
public?delegate?Int32?pDataRec(UInt32?userData?string?strUser?IntPtr?pdata?int?ilenint?idatatype);
????//12設(shè)置消息回調(diào)函數(shù),CallbackFunction為0,handle為窗口句柄
????[DllImport(“NNScreen.dll“)]
????public?static?extern?void?NNSSetCallBack?(pDataRec??CallbackFunction?UInt32?handle);
????
????[DllImport(“user32.dll“?EntryPoint?=?“SetWindowText“?CharSet?=?CharSet.Ansi)]
????????public?static?extern?int?SetWindowText(int?hwnd?string?lpString);
????????
Int32?m_hWndVideo; //視頻設(shè)備
Int32?m_hWndView;?//遠程桌面窗口。
String?m_strID; //自己的標志
String?m_strStatus;?//當前狀態(tài).
pDataRec?pdataRec;?//回調(diào)

int?RECVLEN_STATUES =-1;?//nLen當前狀態(tài)
//int?RECVTYPE_DATA =513;?//nType收到數(shù)據(jù),多線程。
//文件傳輸
int?RECVTYPE_

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????962560??2017-05-27?13:26??C#二次開發(fā)源碼\ScreenChatDemo\bin\Debug\NNScreen.dll

?????文件??????40448??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\bin\Debug\ScreenChatDemo.pdb

?????文件?????962560??2017-05-27?13:26??C#二次開發(fā)源碼\ScreenChatDemo\bin\Release\NNScreen.dll

?????文件??????19258??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\MainForm.cs

?????文件??????23095??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\MainForm.Designer.cs

?????文件??????12729??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\MainForm.resx

?????文件???????8434??2017-05-27?14:39??C#二次開發(fā)源碼\ScreenChatDemo\obj\Debug\ScreenChatDemo.csproj.FileListAbsolute.txt

?????文件???????1006??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\obj\Debug\ScreenChatDemo.csproj.GenerateResource.Cache

?????文件??????45056??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\obj\Debug\ScreenChatDemo.exe

?????文件???????4972??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\obj\Debug\ScreenChatDemo.MainForm.resources

?????文件??????40448??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\obj\Debug\ScreenChatDemo.pdb

?????文件???????4463??2017-05-27?14:39??C#二次開發(fā)源碼\ScreenChatDemo\obj\Release\ScreenChatDemo.csproj.FileListAbsolute.txt

?????文件???????1006??2017-05-27?14:39??C#二次開發(fā)源碼\ScreenChatDemo\obj\Release\ScreenChatDemo.csproj.GenerateResource.Cache

?????文件??????45056??2017-05-27?14:39??C#二次開發(fā)源碼\ScreenChatDemo\obj\Release\ScreenChatDemo.exe

?????文件???????4972??2017-05-27?14:39??C#二次開發(fā)源碼\ScreenChatDemo\obj\Release\ScreenChatDemo.MainForm.resources

?????文件????????634??2009-07-08?19:03??C#二次開發(fā)源碼\ScreenChatDemo\Program.cs

?????文件???????1085??2009-07-08?19:03??C#二次開發(fā)源碼\ScreenChatDemo\Properties\AssemblyInfo.cs

?????文件???????5830??2017-05-10?13:13??C#二次開發(fā)源碼\ScreenChatDemo\ScreenChatDemo.csproj

?????文件????????932??2017-05-10?13:11??C#二次開發(fā)源碼\ScreenChatDemo.sln

?????目錄??????????0??2017-05-27?14:37??C#二次開發(fā)源碼\ScreenChatDemo\bin\Debug

?????目錄??????????0??2017-05-27?14:29??C#二次開發(fā)源碼\ScreenChatDemo\bin\Release

?????目錄??????????0??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\obj\Debug

?????目錄??????????0??2017-05-27?14:39??C#二次開發(fā)源碼\ScreenChatDemo\obj\Release

?????目錄??????????0??2016-08-23?17:12??C#二次開發(fā)源碼\ScreenChatDemo\bin

?????目錄??????????0??2016-08-23?17:12??C#二次開發(fā)源碼\ScreenChatDemo\obj

?????目錄??????????0??2017-05-10?13:12??C#二次開發(fā)源碼\ScreenChatDemo\Properties

?????目錄??????????0??2017-05-10?13:12??C#二次開發(fā)源碼\ScreenChatDemo

?????目錄??????????0??2017-05-10?13:22??C#二次開發(fā)源碼

?????文件???????2364??2016-11-16?16:25??C#二次開發(fā)源碼\ScreenChatDemo\bin\Debug\loading.gif

?????文件??????45056??2017-05-27?14:38??C#二次開發(fā)源碼\ScreenChatDemo\bin\Debug\ScreenChatDemo.exe

............此處省略44個文件信息

評論

共有 條評論

相關(guān)資源