public static void UpdateExtendedConfiguration(DicomServerExtendedConfiguration configuration)
 {
     Platform.GetService <IDicomServerConfiguration>(
         s => s.UpdateExtendedConfiguration(new UpdateDicomServerExtendedConfigurationRequest {
         ExtendedConfiguration = configuration
     }));
 }
        public static DicomServerExtendedConfiguration GetExtendedConfiguration()
        {
            DicomServerExtendedConfiguration configuration = null;

            Platform.GetService <IDicomServerConfiguration>(
                s => configuration = s.GetExtendedConfiguration(new GetDicomServerExtendedConfigurationRequest()).ExtendedConfiguration);
            return(configuration);
        }
        public DicomServerExtendedConfiguration UpdateExtendedConfiguration(DicomServerExtendedConfiguration newConfiguration)
        {
            var settings = new DicomServerSettings();
            var proxy    = settings.GetProxy();

            proxy.AllowUnknownCaller   = newConfiguration.AllowUnknownCaller;
            proxy.QueryResponsesInUtf8 = newConfiguration.QueryResponsesInUtf8;
            // TODO (CR Jun 2012): For now, the storage SOP Classes and Transfer Syntaxes are ignored.

            return(settings.GetExtendedConfiguration());
        }