Search code examples
c#sharepointcsomsharepoint-appssharepoint-clientobject

How to get SPProductNumber via Client Object Model?


I am looking for way to get SPProductNumbervia client object model. I have sharepoint app, and I need to connect client application and that app. To do this I need to get SPProductNumber. If there is not way, anyone know how to check it with Sharepoint GUI?


Solution

  • You can get it using the following code:

    CSOM (e.g. C#)

    ClientContext.ServerVersion
    

    JavaScript:

    SP.ClientContext.get_current().get_serverVersion()