About upgrading Microsoft .NET Framework for Security Center SDK - Security Center 5.8.1.0

Security Center SDK Release Notes 5.8.1.0

Applies to
Security Center 5.8.1.0
Last updated
2019-08-20
Content type
Release notes
Language
English (United States)
Product line
Security Center unified platform > Security Center
Version
5.8

The Security Center 5.8 SDK assemblies are compiled in projects targeting .NET Framework 4.7.1. The upgrade to .NET 4.7.1 impacts standalone applications and workspace SDK modules. It is important to know how the modules are affected and if any action is required.

NOTE: If you cannot update your integration to .NET 4.7.1, you can use the Security Center 5.5 SDK package to connect to a 5.8 system.

Standalone applications and Workspace SDK modules

Developing a new SDK application, or recompiling an existing application with updated references to Security Center 5.8 SDK requires the following:

Standalone applications only

If your existing integrations use a .NET version that is earlier than 4.7.1, you must do one of the following:
  • Compile your integration with the Security Center 5.8 SDK and deploy again with your updated integration.
    IMPORTANT: The updated integration will not be compatible with an earlier version of the Security Center SDK.
  • Adapt your current application to Security Center 5.8 SDK without recompiling.
    • Deploy the application with an exe.config file that includes a supported runtime element and a binding redirection.
      Example:
      <?xml version="1.0"?> 
      
      <configuration>
                                                                     
      <startup useLegacyV2RuntimeActivationPolicy="true">
      
      <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/>
      
      </startup>
      
      <runtime>   
      
       <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
                                                                                    
        <dependentAssembly>
      
         <assemblyIdentity name="Genetec.Sdk" 
      publicKeyToken="a446968a32b751de" culture="neutral"/>
      
         <bindingRedirect oldVersion="1.2.0.0-65535.85535.85535.85535" 
      newVersion="5.8.0.0"/>
            
      </dependentAssembly>
          
      <dependentAssembly>
      
         <assemblyIdentity name="Genetec.Sdk.Media"
      publicKeyToken="a446968a32b751de" culture="neutral"/> 
      
        <bindingRedirect oldVersion="1.2.0.0-65535.85535.85535.85535"
              newVersion="5.8.0.0"/> 
           
         </dependentAssembly>   
      
        </assemblyBinding> 
      
       </runtime>
      
      </configuration> 
After you are done, you must copy all files from the SDK installation folder to the application folder.

For additional information on the supported runtime element, see https://msdn.microsoft.com/en-us/library/ff657133(v=vs.110).aspx.

For additional information on binding redirection, see https://msdn.microsoft.com/en-us/library/2fc472t2(v=vs.110).aspx.

Workspace SDK

Modules built on Workspace SDK are loaded from the Config Tool or Security Desk application, which already have the required settings in their associated config files.