C# (CSharp) NetworkCommsDotNet.Tools Namespace

Nested Namespaces

NetworkCommsDotNet.Tools.XPlatformHelper

Classes

Name Description
ABCDStruct
Adler32Checksum Implementation of the Adler32 checksum algorithm. It is not a particularly reliable checksum compared with MD5 but it is about 10 times faster. NetworkComms.Net uses MD5 as its default but this class is provided should speed be the more important factor.
CertificateDetails Contains the information required to create self signed certificates
CommsMath A class used for math operations in NetworkComms.Net. Primarily used for load analysis.
CommsThreadPool A compact thread pool used by NetworkComms.Net to run packet handlers
DOSProtection NetworkComms.Net class used for providing Denial Of Service (DOS) protection features. If enabled, malformed data events and connection initialises are tracked. If above set thresholds IPAddresses are banned.
HostInfo A static class which provides information about the local host.
HostInfo.BT Host bluetooth information
HostInfo.IP Host IP information
IPRange A class that encapsulates an IPv4 or IPv6 range. Used for checking if an IPAddress is within an IPRange.
IPTools A collection of tools for dealing with IP addresses.
LiteLogger A core logger that can be used to write log messages to the console and or a log file.
LogTools Quickly log exceptions and information to a file.
MD5Core Part of the managed MD5 calculator
MD5Managed.MD5Managed Create a managed MD5 hash calculator
PacketBuilder Packet data is generally broken into multiple variable sized byte chunks or 'partial packets'. This class provides features to effortlessly rebuild whole packets.
PeerDiscovery Provides the ability to discover 'discoverable' peers on the local network.
PeerDiscovery.PeerListenerEndPoint Used to communicate discoverable listeners between peers
PriorityQueueItem Private wrapper class used for passing data to the incoming packet item worker
SSLTools Tools used in conjunction with SSL encrypted connections.
SSLTools.CryptKeyProviderInformation
SSLTools.CryptoApiBlob
SSLTools.NativeMethods
SSLTools.SystemTime
ShortGuid Represents a shortform globally unique identifier (GUID) which is easier to handle than Guid.NewGuid(). This class is used to uniquely identify a peer/application using NetworkComms.Net. See here for original source.
StreamTools Wrapper class for writing to streams with time-outs. Used primarily to prevent stream write deadlocks.
StreamTools.StreamSendWrapper Used to send all or parts of a stream. Particularly useful for sending files directly from disk etc.
StreamTools.ThreadSafeStream A wrapper around a stream to ensure it can be accessed in a thread safe way. The .net implementation of Stream.Synchronized is not suitable on its own.
WaitCallBackWrapper A private wrapper used by CommsThreadPool
WorkerInfo A private wrapper used by CommsThreadPool