Mettler Toledo has an official GitHub organization where they publish SDKs, drivers, and code examples.
Common open-source patterns found on general GitHub (not the official Mettler account) include: mettler toledo github windows shell
$serial.Close()