Welcome to Atalasoft Community Sign in | Help

Browse by Tags

All Tags » Development   (RSS)

Detecting SearchServer (and other services) in SharePoint farm

Jake and I just got into an interesting problem while working on search functions for VizitSP . My code was using types from Microsoft.Office.Server.Search, which is not available if SearchServer is not installed, so trying to access search functions

A word of praise for relevant error messages

What do you think about the following code: byte [] privateParams, publicParams; using (var rsa = new System.Security.Cryptography.RSACryptoServiceProvider()) { privateParams = rsa.ExportCspBlob( true ); publicParams = rsa.ExportCspBlob( false ); } using