Share via

How to show Camera in WPF Application

Faizan Mohammed 1 Reputation point
Oct 23, 2022, 11:59 AM

I am trying to create a video conferencing app using WPF and NET 6, i tried to find many tutorials / resources online but could not find it. I tried searching throught the old forums but the links were not working. Thank you for helping me.

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
833 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 88,061 Reputation points
    Oct 23, 2022, 12:16 PM

    If you're talking about camera capture, a way is with DirectShow
    I had uploaded a sample in WinUI (about the same code in WPF as it is C# + P/Invoke) : WinUI3_DirectShow_Capture

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.