Produced by Araxis Merge on 11/9/2017 10:44:47 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | REFDOC-v2.1.0.zip\NVCC\NVCC.WebUI\Utilities | cdwHttpClient.cs | Thu Oct 19 17:37:06 2017 UTC |
| 2 | REFDOC-v2.1.0.zip\NVCC\NVCC.WebUI\Utilities | cdwHttpClient.cs | Wed Nov 8 19:18:08 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 52 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | using Syst em; | |
| 2 | using Syst em.Net; | |
| 3 | using Syst em.Net.Htt p; | |
| 4 | ||
| 5 | namespace NVCC.WebUI .Utilities | |
| 6 | { | |
| 7 | public static cl ass CdwHtt pClient | |
| 8 | { | |
| 9 | private co nst string url = "ht tp:// DNS . URL /WCF_WebAP I/Clinical DataServic esCDW/"; | |
| 10 | ||
| 11 | pu blic stati c HttpClie nt GetClie nt() | |
| 12 | { | |
| 13 | string m yUri = url ; | |
| 14 | Credenti alCache cc = new Cre dentialCac he(); | |
| 15 | cc.Add(n ew Uri(myU ri), "NTLM ", Credent ialCache.D efaultNetw orkCredent ials); | |
| 16 | ||
| 17 | HttpClie ntHandler handler = new HttpCl ientHandle r(); | |
| 18 | handler. Credential s = cc; | |
| 19 | HttpClie nt client = new Http Client(han dler); | |
| 20 | client.B aseAddress = new Uri (myUri); | |
| 21 | client.D efaultRequ estHeaders .Accept.Cl ear(); | |
| 22 | client.D efaultRequ estHeaders .Accept.Ad d( | |
| 23 | new System.Net .Http.Head ers.MediaT ypeWithQua lityHeader Value("app lication/j son")); | |
| 24 | return c lient; | |
| 25 | } | |
| 26 | } | |
| 27 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.