Bitcoin Forum
April 17, 2024, 01:02:36 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: getdifficulty with Visual Basic  (Read 804 times)
Ginsley (OP)
Full Member
***
Offline Offline

Activity: 234
Merit: 114


View Profile
December 22, 2013, 07:13:09 PM
 #1

Hi,

as i have no clue, how to gather data from a coins daemon, i wanted to ask here, if and how it is possible to do so.

I am running the daemon of EmeraldCoin (emeraldd) on my local system.
RPC-Port is set to port 9050 - local mining on this port works fine.

By running "emeraldd getdifficulty" from the command-line, i get the latest difficulty value.

Now i want to "ask" emeraldd from within a Visual Basic program for its latest difficulty.

1. Is that possible? (i think so)
2. How can i do that? I googled for several hours, but havnt found something usable (or i did not understand it properly).

I hope, someone can help me with that. Thanks in advance.

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713358956
Hero Member
*
Offline Offline

Posts: 1713358956

View Profile Personal Message (Offline)

Ignore
1713358956
Reply with quote  #2

1713358956
Report to moderator
ebildude123
Full Member
***
Offline Offline

Activity: 223
Merit: 100


View Profile
December 23, 2013, 01:54:13 AM
 #2

http://stackoverflow.com/questions/18482179/capture-a-dos-command-response-into-a-string
Change to make it work accordingly for you.
Ginsley (OP)
Full Member
***
Offline Offline

Activity: 234
Merit: 114


View Profile
December 23, 2013, 10:45:38 AM
 #3

thanks alot!! that will help.

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!