PeerId peerId = new PeerId(new Peer("127.0.0.1", 6881), "ABC123456789", VersionInfo.ProtocolStringV100);
bool isLibTorrentPeer = peerId.Id.StartsWith("-LT");This example shows how to determine if the peer is using the libtorrent library by checking if the peer ID starts with the "-LT" string. Package library: MonoTorrent.Client.