Reporting Kubernetes Version

Hello Kubernetes,
For a business need we need to report the Kubernetes version through C# development.
Based on my search and tries I cannot find a proper way to get that version.
Is there any DotNet Api for that or even a way to run the cmd “kubectl version” via pod?