<p>I am trying to get the address the bitcoins were last owned by or the "from" address, I know that if you send bitcoins back to that address not in all cases will the user actually get them but I still need the code for it. Thanks in advance.</p>

<p>I am thinking it has something to do with Program.b.GetTransaction()</p>

<p>If I have an address, and coins are sent to that address, I want to find out the address the coins were sent from, I have a different address for every transactions specially for this.</p>

CC BY-SA 3.0
2013-10-26T03:02:01.003Z
You could just make straight calls to bitcoind, from within a C# app.  Take a look at this question(http://bitcoin.stackexchange.com/questions/7369/how-to-implement-a-game-like-satoshidice/14073#14073).  The question is about Satoshi Dice, but it does provide instructions on how to get customer information, including their original payment address.  I'm not aware of a C# client.  However, a C# application could easily integrate with the bitcoind.exe console application.
RLH
CC BY-SA 3.0
2014-01-16T22:27:56.347Z
I maintain a c# wallet client located on Github: https://github.com/chriswill/WalletClient.  The apis may help you.
ChrisW
CC BY-SA 3.0
2014-01-17T01:50:10.707Z
Please look at the date, I have done C# and PHP implementations of that already...
Max0999
<transactions><bitcoind>
Bitcoin C# .NET API
Max0999
# Bitcoin C# .NET API

(Asked by: username_0 on 2012-11-06)

I am trying to get the address the bitcoins were last owned by or the "from" address, I know that if you send bitcoins back to that address not in all cases will the user actually get them but I still need the code for it. Thanks in advance.

I am thinking it has something to do with Program.b.GetTransaction()

If I have an address, and coins are sent to that address, I want to find out the address the coins were sent from, I have a different address for every transactions specially for this.

**Tags:** transactions, bitcoind

> **Comments:**
> **username_1**: You could just make straight calls to bitcoind, from within a C# app.  Take a look at this question(http://bitcoin.stackexchange.com/questions/7369/how-to-implement-a-game-like-satoshidice/14073#14073).  The question is about Satoshi Dice, but it does provide instructions on how to get customer information, including their original payment address.  I'm not aware of a C# client.  However, a C# application could easily integrate with the bitcoind.exe console application.  
> **username_2**: I maintain a c# wallet client located on Github: https://github.com/chriswill/WalletClient.  The apis may help you.  
> **username_0**: Please look at the date, I have done C# and PHP implementations of that already...  

---

## 0 answers

