Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/ServicePrototype/Index1.aspx.cs @ 4785

Last change on this file since 4785 was 4785, checked in by wtollsch, 14 years ago

#1198 View Index

File size: 922 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Web;
5using System.ServiceModel.Security;
6using System.Diagnostics;
7
8namespace HLWebPluginHost.Views.ServicePrototype {
9    public partial class Index : System.Web.UI.Page {
10       
11        protected void Page_Load(object sender, EventArgs e) {
12            OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient();
13            sc.ClientCredentials.UserName.UserName = "Gerhard";
14            sc.ClientCredentials.UserName.Password = "Gerhard";
15            sc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None;
16            OKBService.AlgorithmClass[] ac = sc.GetAlgorithmClasses();
17            foreach (OKBService.AlgorithmClass i in ac) {
18                Debug.WriteLine(i.ToString());
19            }
20
21            sc.Close();
22        }
23    }
24}
Note: See TracBrowser for help on using the repository browser.