I am working in C# with NBitcoin. I have created an extended master private key, and I can create the hierarchy of derived keys. In TestNet, I have requested some coin from a faucet, and the transaction has gone to the test address (checked in testnet.blockexplorer.com).
I have a local testnet chain running (and a mainnet chain, but testnet for now is all that matters) and I am trying to interact with it via the bitcoind RPC, as per the Bitcoin developer examples.
How do I work out the balance (value held) on my private key, that pairs to the public key, that generated the receiving address? Am I right in thinking that the RPC bitcoind client will not show this, as it maintains it's own keys? If so, how can I query the blockchain for transactions on this address? There is an RPC to import an address, but that seems like a kludge. I should be able to do what the bitcoin core does for it's own local addresses, but for my locally generated addresses.
Thanks in advance for any guidance.