Welcome![Sign In][Sign Up]
Location:
Search - struct csharp

Search list

[Documents结构Structs

Description: 构和类又非常多的相似之处,如结构可以实现界面,和可以拥有和类一样的成员。结构与类也有一些重要的区别:结构是值类型,而不是引-conformation and category there are many similarities, such as the interface structure can be achieved, and can have and the members of the same category. The class structure are some important differences between the two : the structure is the type of value, rather than primers
Platform: | Size: 1024 | Author: 刘成全 | Hits:

[CSharpjsonchecker

Description: aspx下的JSON库 JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。它基于JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家族的习惯(包括C, C++, C#, Java, JavaScript, Perl, Python等)。这些特性使JSON成为理想的数据交换语言。 JSON建构于两种结构: * “名称/值”对的集合(A collection of name/value pairs)。不同的语言中,它被理解为对象(object),纪录(record),结构(struct),字典(dictionary),哈希表(hash table),有键列表(keyed list),或者关联数组 (associative array)。 * 值的有序列表(An ordered list of values)。在大部分语言中,它被理解为数组(array)。 这些都是常见的数据结构。事实上大部分现代计算机语言都以某种形式支持它们。这使得一种数据格式在同样基于这些结构的编程语言之间交换成为可能。-err
Platform: | Size: 32768 | Author: momo | Hits:

[Internet-NetworkArpSender

Description: ArpSender是C#写的ARP发包器,写的初衷是想试下什么样的ARP包才会引起ARP攻击,构造一些包可能会导致别人上不了网。至于包怎么填,发挥大家的想象吧,嘿嘿。 ArpSender用了SharpPcap这个开源API,有兴趣的到网上查下,用起来挺简单的。编程过程中最大的问题就是线程的问题。发包的代码中用了BackgroundWorker控件,因为参数只能传一个,并且线程是不允许直接调用主窗口控件,后来用了一个结构体struct ArpPac来传,感觉还是很麻烦啊!不过还好在BackgroundWorker的RunWorkerCompleted可以直接操作主窗口控件了,能把结果显示到主窗口上。 在编写获取IP的MAC地址部分,一开始还是用BackgroundWorker,在获取存在的IP地址MAC时可以正常工作,可是当IP不存在是,DOWORK方法一直没结束。因为里面一个Resolve方法一直没返回,也没超时设定,线程就一直卡在那不动了。也不知道该怎么结束这个线程。于是改用了Thread,传参数用了个object数组,嘿嘿,所有参数都封起来。到了那边再解封,很好用。后来才发现,线程是没有返回值的。。又不能直接操作窗体控件。。没办法,只好设个全局变量来保存结果了。获取MAC部分还用了个Timer控件,1秒钟如果还没得到返回的MAC,直接结束该线程-ArpSender Writing C# are the ARP contract, and written under the original intent was to want to test what kind of ARP packets that would arouse the ARP attacks, construction of some packets may lead to others not on Net. As for how to fill package, everyone s imagination to play it, ArpSender spent SharpPcap this open source API, there is interest in online search, the very simple to use. Programming process is the biggest problem the question thread. Contract code used BackgroundWorker control, because the parameters can only be a mass, and threads are not allowed to directly call the main window controls, and later used a structure struct ArpPac to mass, I feel still very troublesome ah! Fortunately, however RunWorkerCompleted at BackgroundWorker can directly operate the main window controls, and the results can show up to the main window. In the preparation of access to IP-MAC address of the beginning or use BackgroundWorker, exist in access to the IP address of MAC c
Platform: | Size: 204800 | Author: 咹靜ゞ`兲倥 | Hits:

[Windows Developstructs

Description: struct sample soruce code for csharp from msdn.
Platform: | Size: 5120 | Author: steven | Hits:

[CSharpProcessCommunication

Description: C#进程间通信编程。使用管道方式在两个进程间传递一个数据结构。-CSharp codes demo of interprocess communication. The demo shows how to use pipeline to pass a data struct between two process.
Platform: | Size: 499712 | Author: 魏兰 | Hits:

[CSharpFastFoodDemo

Description: An interface contains definitions for a group of related functionalities that a class or a struct can implement. It is a interface about fast food
Platform: | Size: 3576832 | Author: quenoa | Hits:

CodeBus www.codebus.net