I'm trying to send a CURL request, but appear to be having some issues with my header and hope someone can help...
curl -u 'myusername-test:1815dff0d321430378567bc84963ecd06f71d10f' 'https://api.dev.thewebsite.com/v4/domains' -X POST -H 'Content-Type: application/json' --data...
I want my program to start as close to 13:00:00.000 as possible. To achieve this, I setup a basic while loop..
Dim time As DateTime = DateTime.Now
While time.ToString("HH:mm:ss.fff") <= txtStartTime.Text.Trim
time = DateTime.Now...
Hey everyone, I'm trying get the "<reason>" InnerText from the XML below, but have not been having any luck. The XML has multiple namespaces in it...
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns:fury="urn:ietf:params:xml:ns:fury-2.0" xmlns:fury-rgp="urn:ietf:params:xml:ns:fury-rgp-1.0"...
I'm having a strange issue with SSLstream which I haven't experienced before...
I connect to this server by sending a greeting request first, getting the greeting response, then sending my login request with credentials, and finally reading my login request to make sure I have logged in...
I've been struggling to figure out how to do this and hope someone can help. Here is my scenario...
I have a RichTextBox with multiple items inside and the number of items may vary from one day to the next. I also have the option to run my program on either 1, 2 or 3 different threads (each...
I'm messing around with an API that uses JSON, but can't seem to make it POST properly. This particular API authenticates my account using three pieces of information which must be passed in the header. The service offers a basic endpoint you can GET to make sure your information is being passed...
I'm posting a JSON web request and the everything seems to go through properly, but part of the response contains strange characters. I've tried a few different things, like changing the ContentType, but it hasn't fixed the issue.
For what it's worth, the host I'm connecting to states "The...
I'm wanting to do something, but not really sure if this can be done or how it can be done...
I have a list like this:
example0 2010
example1 1999
example2 2006
example3 1989
example4 2014
and I would like to arrange the list using the date at the end. So, it should be like this:
example3...
Hey everyone, I'm trying to connect with a service through their EPP server on port 700. The service required me to go out and purchase a certificate. They told me I then had to upload the "public" certificate into my user account (which I did) and then pass the "private" key when making a...
Hey everyone, I really hope someone can help me since I've been struggling to get this. Here's what I'm trying to do..
I have a list of items that I want to put into a queue and then process using either multiple threads or actions. Once I've processed the item I then want to add it along with...
...</div>
</td></tr></tbody></table>
My Code
Dim strReg As String
strReg = "<a\s+class\s*=\s*""hRotator""\s+href\s*=\s*""?([^"" >]+)""?>(.+)</a>"
Dim reg As New Regex(strReg, RegexOptions.IgnoreCase)
Dim m As Match = reg.Match(htmlContent)
While m.Success
MsgBox(m.Groups(1).Value)
m =...
I have a scheduler in my program which can be enabled to kick off the series of events at a later time. When the scheduler is enabled and the program is started I'd like to post 2 things into the log, the amount of time its scheduled to run and the amount of time before the software kicks off...
Hey everyone. I hope I can get some help here since I'm not really sure if I am doing this the right way.
I am sending a request that includes 4 domains which I would like to check the availability of. The response I receive (below) contains each domain with different responses that may be...
Hey everyone. I need to connect to an EPP server using TCP/SSL, and also pass an x.509 certificate which is required to establish an authenticated and encrypted communications channel between my software and the registry.
I've got no problems connecting with TCPStream and SSLStream as you can...
Is it possible for me to automatically increment (or completely rename) each instance of my program which is opened and shown in the taskbar?
For example...A user wants to open 3 separate instances of my program. If he does right now all three instances will just show "Widget Program" when...
I started a project not too long ago which I thought would be fairly simple to do since I had done others just like it in the past. However, this one has turned out to be a little bit more complicated. Still, I'd love to figure it out in case I'm ever presented with it again in the future. I...
Hopefully someone can explain this to me a little further..
I'm trying to establish a TCP connection using SSLstream, but constantly receive a certificate error:
Authentication failed because the remote party has closed the transport stream
I know the server uses SSL, but I've never really...
Hey everyone.. I'm having a bit of an issue with my TCP Client/SSLstream where on occasion I will get a "reference is not set to an instance of an object" error. I've looked over my request and it doesn't seam to be missing anything, so I've come to believe this issue is coming from the response...
...anything.
If I try setting up a loop, for example:
Dim i As Integer = 0
While Something > Something
Dim Array2 = Array1.Cast(Of String).Skip(i * 10).Take(10).ToArray()
'do some work here
i = i + 1
End While
This will take the first 10 no problem, but if there are only 12 items in the...
I'm having some troubles passing XML through TCP/IP. I've tried doing this two ways and both times I get "Root element is missing"
Here is the XML I am trying to pass:
At first I thought I would try building the XML and then passing it..so I just created each of the elements and attributes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.