Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Current Client Silverlight Version?

I want to know if there is a way of using C# to get the Current Silverlight Version a user is running when opening a client of an app I'm developing.

It is for logging purposes.

I want to know if they are using Silverlight 3 or 4 on their browsers

like image 554
Johangsl Avatar asked Jun 15 '26 15:06

Johangsl


1 Answers

var dotNetRuntimeVersion = Deployment.Current.RuntimeVersion;
var silverlightVersion = Environment.Version.ToString();

Supported in: 5, 4, 3

like image 76
antwarpes Avatar answered Jun 18 '26 04:06

antwarpes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!