source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/BMX41000/IHS BMX Framework/IndianHealthService.BMXNet/Net/BMXNetSocketConnectionSpec.cs@ 1240

Last change on this file since 1240 was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 2.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Xml;
5using System.Xml.Serialization;
6using System.Security.Principal;
7
8namespace IndianHealthService.BMXNet.Net
9{
10 internal class BMXNetSocketConnectionSpec
11 {
12
13 private WindowsIdentity _windowsIdentity = null;
14
15 public WindowsIdentity WindowsIdentity
16 {
17 get { return _windowsIdentity; }
18 set
19 {
20 _windowsIdentity = value;
21 this.UseWindowsAuthentication = value != null;
22 }
23 }
24 private String _encryptedAccessVerifyCode = null;
25
26 public String EncryptedAccessVerifyCode
27 {
28 get { return _encryptedAccessVerifyCode; }
29 set { _encryptedAccessVerifyCode = value; }
30 }
31
32
33 public bool HasNameSpace
34 {
35 get { return this.NameSpace != null && this.NameSpace.Length > 0; }
36 }
37
38
39 private String _server = null;
40
41 public String Server
42 {
43 get { return _server; }
44 set { _server = value; }
45 }
46
47 private int _receiveTimeout = 0;
48
49 public int ReceiveTimeout
50 {
51 get { return _receiveTimeout; }
52 set { _receiveTimeout = value; }
53 }
54 private int _sendTimeout = 0;
55
56 public int SendTimeout
57 {
58 get { return _sendTimeout; }
59 set { _sendTimeout = value; }
60 }
61
62 private int _port = 0;
63
64 public int Port
65 {
66 get { return _port; }
67 set { _port = value; }
68 }
69
70 private String _nameSpace = null;
71
72 public String NameSpace
73 {
74 get { return _nameSpace; }
75 set { _nameSpace = value; }
76 }
77
78 private bool _useWindowsAuthentication = false;
79
80 public bool UseWindowsAuthentication
81 {
82 get { return _useWindowsAuthentication; }
83 set { _useWindowsAuthentication = value; }
84 }
85 }
86}
Note: See TracBrowser for help on using the repository browser.