title: C#/.NET: Creating a CAB and adding files to it without an external library
body: <p>I'm aware there is a <a href="https://stackoverflow.com/questions/510648/managed-code-library-to-write-read-cabinet-cab-files">similar question</a> but the marked answer provides a link to an external library which requires several dependencies to be installed on the user's machine.</p>
  
  <p>I don't need extraction or anything else fancy like listing files - I only need to add the entire contents of a folder to a single cabinet file.  I know cabinet.dll exists in the \Windows\System32 folder and I'm hoping there's a simple way to interact with this DLL to achieve what I'm trying to do.</p>
  
  <p>Is it possible to do this without an external library?  If anyone could point me in the right direction I'd be eternally grateful.</p>