A simple library to ping Minecraft: Java/Bedrock edition servers that supports almost all versions.
⚠️ Currently still working on implementing older versions.
var options = new MinecraftPingOptions
{
Address = "127.0.0.1",
Port = 25565
};
var status = await Minecraft.PingAsync(options);