Forum Discussion

palindrome011's avatar
palindrome011
New Contributor
15 years ago

Comparing values from WPF application with values in Silverlight Web app

How do I conduct value comparison of some known object in WPF application with a value in Silverlight web application?



Do I first store them as a file store/Object store or can I immediately compare them as a single step checkpoint?

Thanks.

Young

1 Reply

  • Hi,



    All you need to do is to save the values of both properties to variables and compare the values of these variables. In general, you can compare two properties in a single line:

    ...

    if(Sys.Process("WPFApp")...WPFObject("obj").prop == Sys.Process("iexplore")...Something("silverlight_obj").prop) Log.Message("The properties are equal");

    ...