title: Media Foundation with C#
body: <p><strong>Media foundation</strong> is the recommended technology by Microsoft and it has really  supported it by a lot of samples and explanation but all are with the native code</p>
  
  <p>I found a wrapper in <strong>sourceforge</strong> make me able to use Media Foundation with C# but while I am reading people talk about not every thing can be done by the managed code </p>
  
  <p>I have some tasks to do with MF:</p>
  
  <ol>
  <li>Capture alive video</li>
  <li>change resolution and baud rate </li>
  <li>Encode video </li>
  <li>decode video</li>
  </ol>
  
  <p>Can I use .net in these tasks or I have to use the native code?Is there samples help (please don't mention msdn one from them)?</p>