user29938: I want to create a boolean result method WasGeneratedBy that takes two params, a bitcoin address, and a BIP32 pub key.  Is there an efficient algorithm (and library, NBitcoin?) to accomplish this?
EDIT:
I'm showing my BIP32 newbieness..  Based upon the first response I received, I would like to modify my desired method such that all required parameters are present (including path).  This method gets its information from public web service so obviously that precludes any private keys or other that the user would be unlikely to submit.
I believe this should be possible given this blockchain.info example
https://blockchain.info/xpub/xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz

user208: There is no such algorithm.
You need to know the path.

user5292: If you know the path and the xpubkey, you can just generate the address and see if it matches with what you expect.
If you don't know the (entire) path you can simply start trying a lot of different paths, but in principle you could spend an infinite amount of time, so in that case your function would never return false.

29938: <p>I want to create a boolean result method WasGeneratedBy that takes two params, a bitcoin address, and a BIP32 pub key.  Is there an efficient algorithm (and library, NBitcoin?) to accomplish this?</p>

<p>EDIT:</p>

<p>I'm showing my BIP32 newbieness..  Based upon the first response I received, I would like to modify my desired method such that all required parameters are present (including path).  This method gets its information from public web service so obviously that precludes any private keys or other that the user would be unlikely to submit.</p>

<p>I believe this should be possible given this blockchain.info example</p>

<p><a href="https://blockchain.info/xpub/xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz" rel="nofollow">https://blockchain.info/xpub/xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz</a></p>
 208: <p>There is no such algorithm.</p>

<p>You need to know the path.</p>
 5292: <p>If you know the path and the xpubkey, you can just generate the address and see if it matches with what you expect.</p>

<p>If you don't know the (entire) path you can simply start trying a lot of different paths, but in principle you could spend an infinite amount of time, so in that case your function would never return false.</p>
