Search code examples
c#silverlight-3.0

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


Solution

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

    Supported in: 5, 4, 3