-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathstarksoft.aspen.xml
1074 lines (1071 loc) · 54.7 KB
/
starksoft.aspen.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>starksoft.aspen</name>
</assembly>
<members>
<member name="T:Starksoft.Aspen.ArrayBuilder">
<summary>
Builds a one-dimensional byte array of a fixed size and allows the consumer to easily
append data to that byte array.
</summary>
</member>
<member name="M:Starksoft.Aspen.ArrayBuilder.#ctor(System.Int64)">
<summary>
Constructor.
</summary>
<param name="size">The fixed size of the one-dimensional byte array to build.</param>
</member>
<member name="P:Starksoft.Aspen.ArrayBuilder.Length">
<summary>
Gets the length of the ArrayBuilder buffer in bytes.
</summary>
</member>
<member name="M:Starksoft.Aspen.ArrayBuilder.Append(System.Byte[])">
<summary>
Appends bytes to the byte array.
</summary>
<param name="data">Bytes to append.</param>
</member>
<member name="M:Starksoft.Aspen.ArrayBuilder.Append(System.Byte[],System.Int64)">
<summary>
Appends bytes to the byte array at a specific starting index.
</summary>
<param name="data">Bytes to append.</param>
<param name="startIndex">Starting point to append bytes.</param>
</member>
<member name="M:Starksoft.Aspen.ArrayBuilder.GetBytes">
<summary>
Returns the byte array.
</summary>
<returns>Array of bytes.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayBuilder.Clear">
<summary>
Clears the bytes array. Any appended data will be lost. The original byte array size is preserved.
</summary>
</member>
<member name="M:Starksoft.Aspen.ArrayBuilder.Redim(System.Int64)">
<summary>
Creates a new byte array of the size specificed. Any appended data will be lost.
</summary>
<param name="size">Size to rediminsion the array.</param>
</member>
<member name="T:Starksoft.Aspen.ParityOptions">
<summary>
Parity options.
</summary>
</member>
<member name="F:Starksoft.Aspen.ParityOptions.Odd">
<summary>
Odd parity.
</summary>
</member>
<member name="F:Starksoft.Aspen.ParityOptions.Even">
<summary>
Even parity.
</summary>
</member>
<member name="T:Starksoft.Aspen.ArrayUtils">
<summary>
Array utility class for working with byte arrays.
</summary>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Compare(System.Byte[],System.Byte[])">
<summary>
Compares two byte arrays to make sure they contain the exact same data and are the same length.
</summary>
<param name="array1">First array to compare.</param>
<param name="array2">Second array to compare.</param>
<returns>A value of true if the arrays are the same; otherwise false.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.HexEncode(System.Byte[])">
<summary>
Encodes a byte array to a string in 2 character hex format.
</summary>
<param name="data">Array of bytes to convert.</param>
<returns>String containing encoded bytes.</returns>
<remarks>e.g. 0x55 ==> "55", also left pads with 0 so that 0x01 is "01" and not "1"</remarks>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.HexEncode(System.Byte)">
<summary>
Encodes a byte to a string in 2 character hex format.
</summary>
<param name="data">Byte to convert.</param>
<returns>String containing encoded byte.</returns>
<remarks>e.g. 0x55 ==> "55", also left pads with 0 so that 0x01 is "01" and not "1"</remarks>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.HexEncode(System.Byte[],System.Boolean)">
<summary>
Encodes a byte array to a string in 2 character hex format.
</summary>
<param name="data">Array of bytes to convert.</param>
<param name="insertColonDelimiter">Insert colon as the delimiter between bytes.</param>
<returns>String containing encoded bytes.</returns>
<remarks>e.g. 0x55 ==> "55", also left pads with 0 so that 0x01 is "01" and not "1"</remarks>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.HexEncode(System.Byte[],System.Boolean,System.Int32)">
<summary>
Encodes a byte array to a string in 2 character hex format.
</summary>
<param name="data">Array of bytes to encode.</param>
<param name="insertColonDelimiter">Insert colon as the delimiter between bytes.</param>
<param name="length">Number of bytes to encode.</param>
<returns>String containing encoded bytes.</returns>
<remarks>e.g. 0x55 ==> "55", also left pads with 0 so that 0x01 is "01" and not "1"</remarks>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.HexDecode(System.String)">
<summary>
Decodes a 2 character hex format string to a byte array.
</summary>
<param name="s">String containing hex values to decode..</param>
<returns>Array of decoded bytes.</returns>
<remarks>Input string may contain a ':' delimiter between each encoded byte pair.</remarks>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.HexDecode(System.String,System.Int32)">
<summary>
Decodes a 2 character hex format string to a byte array.
</summary>
<param name="s">String containing hex values to decode..</param>
<param name="paddingBytes">Number of most significant byte padding to add.</param>
<returns>Array of decoded bytes.</returns>
<remarks>Input string may contain a ':' delimiter between each encoded byte pair.</remarks>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.GetInt24(System.Int32)">
<summary>
Converts a 32-bit integer value to a 24-bit integer value.
</summary>
<param name="value">32-bit integer.</param>
<returns>24-bit integer as a byte array.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">If value is greater than 16777215.</exception>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.GetInt32(System.Byte[])">
<summary>
Converts a 24-bit integer byte array to a 32-bit integer.
</summary>
<param name="int24">24-bit integer value.</param>
<returns>Unsigned 32-bit integer value.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Clone(System.Byte[])">
<summary>
Copies a byte array by creating a new array and transferring the values.
</summary>
<param name="array">Byte array to clone.</param>
<returns>Cloned array.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Reverse(System.Byte[])">
<summary>
Returns a copy of the supplied array in reverse order.
</summary>
<param name="array">Array to reverse.</param>
<returns>Reverse array.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.GetLengthSafe(System.Byte[])">
<summary>
Gets the length of an array object but does not throw an exception
if the array is null.
</summary>
<param name="array">Array (can be null)</param>
<returns>Length of array of 0 if the array is null.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.PadArrayPkcs7(System.Byte[],System.Int32)">
<summary>
Pad with bytes all of the same value as the number of padding bytes.
</summary>
<param name="array">Byte array to pad.</param>
<param name="blockSize">Standard block size.</param>
<remarks>
This padding technique is documented in the RSA specification PKCS#5, PKCS#7 as well
as the RFC 3852 Section 6.3. This method will paddi with bytes all of the same value
as the number of bytes padded. So if you are short by 6 bytes then simply append six
bytes of data with the value 0x06. Similarly, if you are short 2 bytes then appended
2 padding bytes with the value 0x02.
</remarks>
<returns></returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.SetOddParity(System.Byte[])">
<summary>
Set the least significant odd party bit for supplied byte array.
</summary>
<param name="bytes"></param>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.SetParity(System.Byte[],Starksoft.Aspen.ParityOptions)">
<summary>
Set the most significate parity bit for supplied byte array.
</summary>
<param name="array">Input byte array.</param>
<param name="parity">Parity to set.</param>
<returns>New byte array with the correct parity.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.CreateArray(System.Int32,System.Byte)">
<summary>
Creates an array of bytes.
</summary>
<param name="length">Length of the array.</param>
<param name="byteValue">Initial value for the array.</param>
<returns>Padding byte array.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Subarray(System.Byte[],System.Int32,System.Int32)">
<summary>
Retrieves a substring from this instance. The substring starts at a specified
character position and has a specified length.
</summary>
<param name="array"></param>
<param name="startIndex">The index of the start of the substring.</param>
<param name="length">The number of characters in the substring.</param>
<returns>
A Byte array equivalent to the substring of length that begins
at startIndex.
</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.TrimPadding(System.Byte[])">
<summary>
Trim zero padding from the right side of the array.
</summary>
<param name="array">Array to trim.</param>
<returns>Resized array without zero's padding.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Clear(System.Byte[])">
<summary>
Clears all the bytes in an array by setting the elements to zero
and then resizes the array to 0.
</summary>
<param name="array">Array of bytes to clear.</param>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.IsHexValue(System.String)">
<summary>
Tests if string data supplied is valid hex encoded value.
</summary>
<param name="data">String containing data</param>
<returns>True if string is valid hex encoded value; otherwise false</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Zero(System.Byte[])">
<summary>
Zeros an array by setting all byte values to the value 0.
</summary>
<param name="array">Array to zero.</param>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Xor(System.Byte[],System.Byte[])">
<summary>
Takes two equal size input byte arrays and xors their values and returns the xor result as a new byte array.
</summary>
<param name="array1">Array #1.</param>
<param name="array2">Array #2.</param>
<returns>New xor byte array.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Combine(System.Byte[][])">
<summary>
Combine 2 or more byte arrays into a single, contegious byte array.
</summary>
<param name="list">Byte array parameter list.</param>
<returns>Single byte array.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Encrypt(System.Security.Cryptography.SymmetricAlgorithm,System.Byte[],System.Byte[],System.Security.Cryptography.CipherMode,System.Byte[])">
<summary>
Encrypt cleartext data using specified symmetric cipher and optional IV.
</summary>
<param name="algo">Symmetric cipher algorithm object.</param>
<param name="key">Symmetric algorithm key.</param>
<param name="iv">Optional IV value (can be null or empty byte array).</param>
<param name="mode">Symmetric cipher block mode.</param>
<param name="cleartext">Cleartext data to encrypt.</param>
<returns>Ciphertext data.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Decrypt(System.Security.Cryptography.SymmetricAlgorithm,System.Byte[],System.Byte[],System.Security.Cryptography.CipherMode,System.Byte[])">
<summary>
Decrypt ciphertext data using specified symmetric cipher and optional IV.
</summary>
<param name="algo">Symmetric cipher algorithm object.</param>
<param name="key">Symmetric algorithm key.</param>
<param name="iv">Optional IV value (can be null or empty byte array).</param>
<param name="mode">Symmetric cipher block mode.</param>
<param name="ciphertext">Ciphertext data to decrypt.</param>
<returns>Cleartext data.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.ZeroPad(System.Byte[],System.Int32)">
<summary>
Zero pads an array of bytes to specific size.
</summary>
<param name="data">Data to zero pad.</param>
<param name="size">Size of the return array.</param>
<returns>Array of bytes zero padded.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.PadArrayFF(System.Byte[],System.Int32)">
<summary>
Pads an array of bytes to specific size using hex value 0xFF.
</summary>
<param name="data">Data to pad.</param>
<param name="size">Size of the return array.</param>
<returns>Array of bytes padded.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.PadArray(System.Byte[],System.Int32,System.Byte)">
<summary>
Pads an array of bytes to specific size using a supplied padding value.
</summary>
<param name="data">Data to pad.</param>
<param name="size">Size of the return array.</param>
<param name="padValue">Padding value to use.</param>
<returns>Array of bytes padded.</returns>
</member>
<member name="M:Starksoft.Aspen.ArrayUtils.Hash(System.Security.Cryptography.HashAlgorithm,System.Byte[][])">
<summary>
Compute a hash value across one or more byte arrays.
</summary>
<param name="algo">Hashing algorithm to use.</param>
<param name="list">Byte array to compute hash across.</param>
<returns>Byte array containing hash value.</returns>
</member>
<member name="T:Starksoft.Aspen.Proxy.CreateConnectionAsyncCompletedEventArgs">
<summary>
Event arguments class for the EncryptAsyncCompleted event.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.CreateConnectionAsyncCompletedEventArgs.#ctor(System.Exception,System.Boolean,System.Net.Sockets.TcpClient)">
<summary>
Constructor.
</summary>
<param name="error">Exception information generated by the event.</param>
<param name="cancelled">Cancelled event flag. This flag is set to true if the event was cancelled.</param>
<param name="proxyConnection">Proxy Connection. The initialized and open TcpClient proxy connection.</param>
</member>
<member name="P:Starksoft.Aspen.Proxy.CreateConnectionAsyncCompletedEventArgs.ProxyConnection">
<summary>
The proxy connection.
</summary>
</member>
<member name="T:Starksoft.Aspen.Proxy.HttpProxyClient">
<summary>
HTTP connection proxy class. This class implements the HTTP standard proxy protocol.
<para>
You can use this class to set up a connection to an HTTP proxy server. Calling the
CreateConnection() method initiates the proxy connection and returns a standard
System.Net.Socks.TcpClient object that can be used as normal. The proxy plumbing
is all handled for you.
</para>
<code>
</code>
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.#ctor">
<summary>
Constructor.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.#ctor(System.Net.Sockets.TcpClient)">
<summary>
Creates a HTTP proxy client object using the supplied TcpClient object connection.
</summary>
<param name="tcpClient">A TcpClient connection object.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.#ctor(System.String)">
<summary>
Constructor. The default HTTP proxy port 8080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.#ctor(System.String,System.Int32,System.String,System.String)">
<summary>
Constructor.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port number to connect to the proxy server.</param>
<param name="proxyUsername">Username for the proxy server.</param>
<param name="proxyPassword">Password for the proxy server.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.#ctor(System.String,System.Int32)">
<summary>
Constructor.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port number for the proxy server.</param>
</member>
<member name="P:Starksoft.Aspen.Proxy.HttpProxyClient.ProxyHost">
<summary>
Gets or sets host name or IP address of the proxy server.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.HttpProxyClient.ProxyPort">
<summary>
Gets or sets port number for the proxy server.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.HttpProxyClient.ProxyName">
<summary>
Gets String representing the name of the proxy.
</summary>
<remarks>This property will always return the value 'HTTP'</remarks>
</member>
<member name="P:Starksoft.Aspen.Proxy.HttpProxyClient.TcpClient">
<summary>
Gets or sets the TcpClient object.
This property can be set prior to executing CreateConnection to use an existing TcpClient connection.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.CreateConnection(System.String,System.Int32)">
<summary>
Creates a remote TCP connection through a proxy server to the destination host on the destination port.
</summary>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Port number to connect to on the destination host.</param>
<returns>
Returns an open TcpClient object that can be used normally to communicate
with the destination server
</returns>
<remarks>
This method creates a connection to the proxy server and instructs the proxy server
to make a pass through connection to the specified destination host on the specified
port.
</remarks>
</member>
<member name="P:Starksoft.Aspen.Proxy.HttpProxyClient.IsBusy">
<summary>
Gets a value indicating whether an asynchronous operation is running.
</summary>
<remarks>Returns true if an asynchronous operation is running; otherwise, false.
</remarks>
</member>
<member name="P:Starksoft.Aspen.Proxy.HttpProxyClient.IsAsyncCancelled">
<summary>
Gets a value indicating whether an asynchronous operation is cancelled.
</summary>
<remarks>Returns true if an asynchronous operation is cancelled; otherwise, false.
</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.CancelAsync">
<summary>
Cancels any asychronous operation that is currently active.
</summary>
</member>
<member name="E:Starksoft.Aspen.Proxy.HttpProxyClient.CreateConnectionAsyncCompleted">
<summary>
Event handler for CreateConnectionAsync method completed.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.HttpProxyClient.CreateConnectionAsync(System.String,System.Int32)">
<summary>
Asynchronously creates a remote TCP connection through a proxy server to the destination host on the destination port.
</summary>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Port number to connect to on the destination host.</param>
<returns>
Returns an open TcpClient object that can be used normally to communicate
with the destination server
</returns>
<remarks>
This method creates a connection to the proxy server and instructs the proxy server
to make a pass through connection to the specified destination host on the specified
port.
</remarks>
</member>
<member name="T:Starksoft.Aspen.Proxy.IProxyClient">
<summary>
Proxy client interface. This is the interface that all proxy clients must implement.
</summary>
</member>
<member name="E:Starksoft.Aspen.Proxy.IProxyClient.CreateConnectionAsyncCompleted">
<summary>
Event handler for CreateConnectionAsync method completed.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.IProxyClient.ProxyHost">
<summary>
Gets or sets proxy host name or IP address.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.IProxyClient.ProxyPort">
<summary>
Gets or sets proxy port number.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.IProxyClient.ProxyName">
<summary>
Gets String representing the name of the proxy.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.IProxyClient.TcpClient">
<summary>
Gets or set the TcpClient object if one was specified in the constructor.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.IProxyClient.CreateConnection(System.String,System.Int32)">
<summary>
Creates a remote TCP connection through a proxy server to the destination host on the destination port.
</summary>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Port number to connect to on the destination host.</param>
<returns>
Returns an open TcpClient object that can be used normally to communicate
with the destination server
</returns>
<remarks>
This method creates a connection to the proxy server and instructs the proxy server
to make a pass through connection to the specified destination host on the specified
port.
</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.IProxyClient.CreateConnectionAsync(System.String,System.Int32)">
<summary>
Asynchronously creates a remote TCP connection through a proxy server to the destination host on the destination port.
</summary>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Port number to connect to on the destination host.</param>
<returns>
Returns an open TcpClient object that can be used normally to communicate
with the destination server
</returns>
<remarks>
This method creates a connection to the proxy server and instructs the proxy server
to make a pass through connection to the specified destination host on the specified
port.
</remarks>
</member>
<member name="T:Starksoft.Aspen.Proxy.ProxyType">
<summary>
The type of proxy.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.ProxyType.None">
<summary>
No Proxy specified. Note this option will cause an exception to be thrown if used to create a proxy object by the factory.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.ProxyType.Http">
<summary>
HTTP Proxy
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.ProxyType.Socks4">
<summary>
SOCKS v4 Proxy
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.ProxyType.Socks4a">
<summary>
SOCKS v4a Proxy
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.ProxyType.Socks5">
<summary>
SOCKS v5 Proxy
</summary>
</member>
<member name="T:Starksoft.Aspen.Proxy.ProxyClientFactory">
<summary>
Factory class for creating new proxy client objects.
</summary>
<remarks>
<code>
// create an instance of the client proxy factory
ProxyClientFactory factory = new ProxyClientFactory();
// use the proxy client factory to generically specify the type of proxy to create
// the proxy factory method CreateProxyClient returns an IProxyClient object
IProxyClient proxy = factory.CreateProxyClient(ProxyType.Http, "localhost", 6588);
// create a connection through the proxy to www.starksoft.com over port 80
System.Net.Sockets.TcpClient tcpClient = proxy.CreateConnection("www.starksoft.com", 80);
</code>
</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyClientFactory.CreateProxyClient(Starksoft.Aspen.Proxy.ProxyType)">
<summary>
Factory method for creating new proxy client objects.
</summary>
<param name="type">The type of proxy client to create.</param>
<returns>Proxy client object.</returns>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyClientFactory.CreateProxyClient(Starksoft.Aspen.Proxy.ProxyType,System.Net.Sockets.TcpClient)">
<summary>
Factory method for creating new proxy client objects using an existing TcpClient connection object.
</summary>
<param name="type">The type of proxy client to create.</param>
<param name="tcpClient">Open TcpClient object.</param>
<returns>Proxy client object.</returns>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyClientFactory.CreateProxyClient(Starksoft.Aspen.Proxy.ProxyType,System.String,System.Int32)">
<summary>
Factory method for creating new proxy client objects.
</summary>
<param name="type">The type of proxy client to create.</param>
<param name="proxyHost">The proxy host or IP address.</param>
<param name="proxyPort">The proxy port number.</param>
<returns>Proxy client object.</returns>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyClientFactory.CreateProxyClient(Starksoft.Aspen.Proxy.ProxyType,System.String,System.Int32,System.String,System.String)">
<summary>
Factory method for creating new proxy client objects.
</summary>
<param name="type">The type of proxy client to create.</param>
<param name="proxyHost">The proxy host or IP address.</param>
<param name="proxyPort">The proxy port number.</param>
<param name="proxyUsername">The proxy username. This parameter is only used by Http, Socks4 and Socks5 proxy objects.</param>
<param name="proxyPassword">The proxy user password. This parameter is only used Http, Socks5 proxy objects.</param>
<returns>Proxy client object.</returns>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyClientFactory.CreateProxyClient(Starksoft.Aspen.Proxy.ProxyType,System.Net.Sockets.TcpClient,System.String,System.Int32,System.String,System.String)">
<summary>
Factory method for creating new proxy client objects.
</summary>
<param name="type">The type of proxy client to create.</param>
<param name="tcpClient">Open TcpClient object.</param>
<param name="proxyHost">The proxy host or IP address.</param>
<param name="proxyPort">The proxy port number.</param>
<param name="proxyUsername">The proxy username. This parameter is only used by Http, Socks4 and Socks5 proxy objects.</param>
<param name="proxyPassword">The proxy user password. This parameter is only used Http, Socks5 proxy objects.</param>
<returns>Proxy client object.</returns>
</member>
<member name="T:Starksoft.Aspen.Proxy.ProxyException">
<summary>
This exception is thrown when a general, unexpected proxy error.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyException.#ctor">
<summary>
Constructor.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyException.#ctor(System.String)">
<summary>
Constructor.
</summary>
<param name="message">Exception message text.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyException.#ctor(System.String,System.Exception)">
<summary>
Constructor.
</summary>
<param name="message">Exception message text.</param>
<param name="innerException">The inner exception object.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.ProxyException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Constructor.
</summary>
<param name="info">Serialization information.</param>
<param name="context">Stream context information.</param>
</member>
<member name="T:Starksoft.Aspen.Proxy.Socks4aProxyClient">
<summary>
Socks4a connection proxy class. This class implements the Socks4a standard proxy protocol
which is an extension of the Socks4 protocol
</summary>
<remarks>
In Socks version 4A if the client cannot resolve the destination host's domain name
to find its IP address the server will attempt to resolve it.
</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.#ctor">
<summary>
Default constructor.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.#ctor(System.Net.Sockets.TcpClient)">
<summary>
Creates a Socks4 proxy client object using the supplied TcpClient object connection.
</summary>
<param name="tcpClient">An open TcpClient object with an established connection.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.#ctor(System.String,System.String)">
<summary>
Create a Socks4a proxy client object. The default proxy port 1080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyUserId">Proxy user identification information for an IDENTD server.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.#ctor(System.String,System.Int32,System.String)">
<summary>
Create a Socks4a proxy client object.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port used to connect to proxy server.</param>
<param name="proxyUserId">Proxy user identification information.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.#ctor(System.String)">
<summary>
Create a Socks4 proxy client object. The default proxy port 1080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.#ctor(System.String,System.Int32)">
<summary>
Create a Socks4a proxy client object.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port used to connect to proxy server.</param>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4aProxyClient.ProxyName">
<summary>
Gets String representing the name of the proxy.
</summary>
<remarks>This property will always return the value 'SOCKS4a'</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4aProxyClient.SendCommand(System.Net.Sockets.NetworkStream,System.Byte,System.String,System.Int32,System.String)">
<summary>
Sends a command to the proxy server.
</summary>
<param name="proxy">Proxy server data stream.</param>
<param name="command">Proxy byte command to execute.</param>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Destination port number</param>
<param name="userId">IDENTD user ID value.</param>
<remarks>
This method override the SendCommand message in the Sock4ProxyClient object. The override adds support for the
Socks4a extensions which allow the proxy client to optionally command the proxy server to resolve the
destination host IP address.
</remarks>
</member>
<member name="T:Starksoft.Aspen.Proxy.Socks4ProxyClient">
<summary>
Socks4 connection proxy class. This class implements the Socks4 standard proxy protocol.
</summary>
<remarks>
This class implements the Socks4 proxy protocol standard for TCP communciations.
</remarks>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS_PROXY_DEFAULT_PORT">
<summary>
Default Socks4 proxy port.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_VERSION_NUMBER">
<summary>
Socks4 version number.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_CMD_CONNECT">
<summary>
Socks4 connection command value.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_CMD_BIND">
<summary>
Socks4 bind command value.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_CMD_REPLY_REQUEST_GRANTED">
<summary>
Socks4 reply request grant response value.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_CMD_REPLY_REQUEST_REJECTED_OR_FAILED">
<summary>
Socks4 reply request rejected or failed response value.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_CMD_REPLY_REQUEST_REJECTED_CANNOT_CONNECT_TO_IDENTD">
<summary>
Socks4 reply request rejected becauase the proxy server can not connect to the IDENTD server value.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks4ProxyClient.SOCKS4_CMD_REPLY_REQUEST_REJECTED_DIFFERENT_IDENTD">
<summary>
Socks4 reply request rejected because of a different IDENTD server.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.#ctor">
<summary>
Create a Socks4 proxy client object. The default proxy port 1080 is used.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.#ctor(System.Net.Sockets.TcpClient)">
<summary>
Creates a Socks4 proxy client object using the supplied TcpClient object connection.
</summary>
<param name="tcpClient">A TcpClient connection object.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.#ctor(System.String,System.String)">
<summary>
Create a Socks4 proxy client object. The default proxy port 1080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyUserId">Proxy user identification information.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.#ctor(System.String,System.Int32,System.String)">
<summary>
Create a Socks4 proxy client object.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port used to connect to proxy server.</param>
<param name="proxyUserId">Proxy user identification information.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.#ctor(System.String)">
<summary>
Create a Socks4 proxy client object. The default proxy port 1080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.#ctor(System.String,System.Int32)">
<summary>
Create a Socks4 proxy client object.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port used to connect to proxy server.</param>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.ProxyHost">
<summary>
Gets or sets host name or IP address of the proxy server.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.ProxyPort">
<summary>
Gets or sets port used to connect to proxy server.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.ProxyName">
<summary>
Gets String representing the name of the proxy.
</summary>
<remarks>This property will always return the value 'SOCKS4'</remarks>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.ProxyUserId">
<summary>
Gets or sets proxy user identification information.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.TcpClient">
<summary>
Gets or sets the TcpClient object.
This property can be set prior to executing CreateConnection to use an existing TcpClient connection.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.CreateConnection(System.String,System.Int32)">
<summary>
Creates a TCP connection to the destination host through the proxy server
host.
</summary>
<param name="destinationHost">Destination host name or IP address of the destination server.</param>
<param name="destinationPort">Port number to connect to on the destination server.</param>
<returns>
Returns an open TcpClient object that can be used normally to communicate
with the destination server
</returns>
<remarks>
This method creates a connection to the proxy server and instructs the proxy server
to make a pass through connection to the specified destination host on the specified
port.
</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.SendCommand(System.Net.Sockets.NetworkStream,System.Byte,System.String,System.Int32,System.String)">
<summary>
Sends a command to the proxy server.
</summary>
<param name="proxy">Proxy server data stream.</param>
<param name="command">Proxy byte command to execute.</param>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Destination port number</param>
<param name="userId">IDENTD user ID value.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.GetIPAddressBytes(System.String)">
<summary>
Translate the host name or IP address to a byte array.
</summary>
<param name="destinationHost">Host name or IP address.</param>
<returns>Byte array representing IP address in bytes.</returns>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.GetDestinationPortBytes(System.Int32)">
<summary>
Translate the destination port value to a byte array.
</summary>
<param name="value">Destination port.</param>
<returns>Byte array representing an 16 bit port number as two bytes.</returns>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.HandleProxyCommandError(System.Byte[],System.String,System.Int32)">
<summary>
Receive a byte array from the proxy server and determine and handle and errors that may have occurred.
</summary>
<param name="response">Proxy server command response as a byte array.</param>
<param name="destinationHost">Destination host.</param>
<param name="destinationPort">Destination port number.</param>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.IsBusy">
<summary>
Gets a value indicating whether an asynchronous operation is running.
</summary>
<remarks>Returns true if an asynchronous operation is running; otherwise, false.
</remarks>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks4ProxyClient.IsAsyncCancelled">
<summary>
Gets a value indicating whether an asynchronous operation is cancelled.
</summary>
<remarks>Returns true if an asynchronous operation is cancelled; otherwise, false.
</remarks>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.CancelAsync">
<summary>
Cancels any asychronous operation that is currently active.
</summary>
</member>
<member name="E:Starksoft.Aspen.Proxy.Socks4ProxyClient.CreateConnectionAsyncCompleted">
<summary>
Event handler for CreateConnectionAsync method completed.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks4ProxyClient.CreateConnectionAsync(System.String,System.Int32)">
<summary>
Asynchronously creates a remote TCP connection through a proxy server to the destination host on the destination port
using the supplied open TcpClient object with an open connection to proxy server.
</summary>
<param name="destinationHost">Destination host name or IP address.</param>
<param name="destinationPort">Port number to connect to on the destination host.</param>
<returns>
Returns TcpClient object that can be used normally to communicate
with the destination server.
</returns>
<remarks>
This instructs the proxy server to make a pass through connection to the specified destination host on the specified
port.
</remarks>
</member>
<member name="T:Starksoft.Aspen.Proxy.Socks5ProxyClient">
<summary>
Socks5 connection proxy class. This class implements the Socks5 standard proxy protocol.
</summary>
<remarks>
This implementation supports TCP proxy connections with a Socks v5 server.
</remarks>
</member>
<member name="T:Starksoft.Aspen.Proxy.Socks5ProxyClient.SocksAuthentication">
<summary>
Authentication itemType.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks5ProxyClient.SocksAuthentication.None">
<summary>
No authentication used.
</summary>
</member>
<member name="F:Starksoft.Aspen.Proxy.Socks5ProxyClient.SocksAuthentication.UsernamePassword">
<summary>
Username and password authentication.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks5ProxyClient.#ctor">
<summary>
Create a Socks5 proxy client object.
</summary>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks5ProxyClient.#ctor(System.Net.Sockets.TcpClient)">
<summary>
Creates a Socks5 proxy client object using the supplied TcpClient object connection.
</summary>
<param name="tcpClient">A TcpClient connection object.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks5ProxyClient.#ctor(System.String)">
<summary>
Create a Socks5 proxy client object. The default proxy port 1080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks5ProxyClient.#ctor(System.String,System.Int32)">
<summary>
Create a Socks5 proxy client object.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port used to connect to proxy server.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks5ProxyClient.#ctor(System.String,System.String,System.String)">
<summary>
Create a Socks5 proxy client object. The default proxy port 1080 is used.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyUserName">Proxy authentication user name.</param>
<param name="proxyPassword">Proxy authentication password.</param>
</member>
<member name="M:Starksoft.Aspen.Proxy.Socks5ProxyClient.#ctor(System.String,System.Int32,System.String,System.String)">
<summary>
Create a Socks5 proxy client object.
</summary>
<param name="proxyHost">Host name or IP address of the proxy server.</param>
<param name="proxyPort">Port used to connect to proxy server.</param>
<param name="proxyUserName">Proxy authentication user name.</param>
<param name="proxyPassword">Proxy authentication password.</param>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks5ProxyClient.ProxyHost">
<summary>
Gets or sets host name or IP address of the proxy server.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks5ProxyClient.ProxyPort">
<summary>
Gets or sets port used to connect to proxy server.
</summary>
</member>
<member name="P:Starksoft.Aspen.Proxy.Socks5ProxyClient.ProxyName">
<summary>
Gets String representing the name of the proxy.
</summary>
<remarks>This property will always return the value 'SOCKS5'</remarks>
</member>