FileStream is gevraagd een apparaat te openen dat geen bestand is. Als u ondersteuning nodig hebt voor apparaten als com1: of lpt1:, roept u CreateFile aan en gebruikt u de FileStream-constructors die een OS-koppeling als IntPtr gebruiken.
Click to search this error in Google
English version
FileStream was asked to open a device that was not a file. For support for devices like 'com1:' or 'lpt1:', call CreateFile, then use the FileStream constructors that take an OS handle as an IntPtr.