|
I really need to get hard disk serial number that work properly in XP and Vista.
Tanks a lot
|
|
|
|
|
Dear Software Developer,
i wanna check email address that is it exist or not?
any idea or link...
Shafik
|
|
|
|
|
I don't think that would be possible, you would have to be able to search lists of emails for every domain and I'm sure that would be some sort of data protection breech. I would guess the only way is to send the email and see if you get one back saying its not a valid email... not great thou
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
|
This is no relaible way to do this.
If you doing some form of account activation, is it is normal to send an e-mail to the user asking them to confirm their account.
|
|
|
|
|
thanks for ur reply, lets see ...
|
|
|
|
|
|
Thanks Jacob,
I am late to reply u because i was out of Desk.
lets see the link.
Thank u again.
Shafik
|
|
|
|
|
Jacob,
Lastly its redirect to chalkat. i dont need chalkat because they used .dll but they dont give that. they give only for money.
plz give any idea or another link.
thanks in advance,
Shafik
|
|
|
|
|
khosnur wrote: Lastly its redirect to chalkat.
Not that link . I posted that link for reading the last post in that thread.Check the last post in that thread.
|
|
|
|
|
Hi
how can i know the list of websites that are using google ad-sense for the given list of keywords
does google providing any kind of API to get that information
i am using c#.net and developing a desktop application
Thanks
Anil Veeraghattapu.
|
|
|
|
|
Please don't keep re-asking the same question - you've been given plenty of information already.
If you've tried something and it doesn't work, then post a code snippet and somebody might be able to spot what's wrong.
Google provide very good documentation for all of their APIs (which can, unsurprisingly, be found easily enough using Google), and also have support forums of their own that are likely to be able to provide more directed support if you can't figure something out.
|
|
|
|
|
Please understand my question first
i have been searching and searching in google
but i didn't find any information
instead i am acorss with lot of stuff which is not relevent to my probm
yes there are number of apis provided for google adsense
but no one is suitable for my requirement.
i need a google which gives the list of websites that are running google adsense for the given list of key words.
any one can suggest relevent information
but only some people can understand the problem and gives the exact solution for the problem
it is useless to if you give any kind of response which is only related to the context but not related to the problem.
if you did't understood my requirement then ask me back. i will explain you.
Thanks
Anil Veeraghattapu.
|
|
|
|
|
Have you asked your question in the google adsense API forums? As I said, they're more likely to give you an answer
However, thinking about what you're asking, I'd imagine the information you want would be commercially sensitive (you want to know what advertisers have paid for which keywords, right?) So you might not have much luck
|
|
|
|
|
hi friends
I want to add contrls in a gridview but I don't want to cast to control
in follow way do you want the other method?
modified on Tuesday, October 13, 2009 12:55 PM
|
|
|
|
|
When it comes to the instalutil.exe - are you sure you opened the Command Prompt with path's set to the VS folders? Open the Command Prompt using the shortcut in the Visual Studio Tools in the start menu.
Start Menu >> Microsoft Visual Studio 2XXX >> Visual Studio Tools >> Visual Studio 2XXX Command Prompt
|
|
|
|
|
Hi, I have a class that triggers two different events.
- EventA triggers an event with argument AEventArgs
- EventB triggers an event with argument BEventArgs
Code sample below.
My question is:
How can I create one generic function TriggerEvent(...) that replaces TriggerEventA(...) and TriggerEventB(...) ?
class Publisher
{
public event EventHandler<AEventArgs> EventA;
public event EventHandler<BEventArgs> EventB;
public void TriggerEvents()
{
TriggerEventA(EventA, new AEventArgs());
TriggerEventB(EventB, new BEventArgs());
}
private void TriggerEventA(EventHandler<AEventArgs> eventHandler, AEventArgs args)
{
EventHandler<AEventArgs> handler = eventHandler;
if (handler != null)
{
handler(this, args);
}
}
private void TriggerEventB(EventHandler<BEventArgs> eventHandler, BEventArgs args)
{
EventHandler<BEventArgs> handler = eventHandler;
if (handler != null)
{
handler(this, args);
}
}
}
class AEventArgs : EventArgs
{
}
class BEventArgs : EventArgs
{
}
|
|
|
|
|
How about,
class Publisher
{
public event EventHandler<AEventArgs> EventA;
public event EventHandler<BEventArgs> EventB;
public void TriggerEvents()
{
TriggerEvent(EventA, new AEventArgs());
TriggerEvent(EventB, new BEventArgs());
}
private void TriggerEvent<TEventArgs>(EventHandler<TEventArgs> eventHandler, TEventArgs args)
where TEventArgs : EventArgs
{
EventHandler<TEventArgs> handler = eventHandler;
if (handler != null)
{
handler(this, args);
}
}
} You call it like TriggerEvent<AEventArgs>(EventA, new AEventArgs()) or without specifying the generic type. If type is not specified, compiler will infer from the type of parameter passed.
|
|
|
|
|
Thanks a lot!
|
|
|
|
|
No, can't figure this out by myself...
I do have some dll's written in c++ which are part of a big project. Now I want to do a C# program that only display functions and parameters from a selected dll dynamically.
Tried some with LoadLibrary but can't get it to work. I won't call the dll code just need the info. Ideas?
|
|
|
|
|
For managed C++/CLI code, you could use reflection.
For native C/C++ code, the only way I see is by diving into the DLL file yourself, locating the EXPORTS table and mimicking the DUMPBIN utility (with option /EXPORT).
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hi,
How can i validate in .Net C# a SAML signature created in Java? Here is the SAML Signature that i get from Java:
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
</ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1">
</ds:SignatureMethod>
<ds:Reference URI="#_e8bcba9d1c76d128938bddd5ae8c68e1">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature">
</ds:Transform>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="code ds kind rw saml samlp typens #default xsd xsi">
</ec:InclusiveNamespaces>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">
</ds:DigestMethod>
<ds:DigestValue>zEL7mB0Wkl+LtjMViO1imbucXiE=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
jpIX3WbX9SCFnqrpDyLj4TeJN5DGIvlEH+o/mb9M01VGdgFRLtfHqIm16BloApUPg2dDafmc9DwL
Pyvs3TJ/hi0Q8f0ucaKdIuw+gBGxWFMcj/U68ZuLiv7U+Qe7i4ZA33rWPorkE82yfMacGf6ropPt
v73mC0bpBP1ub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jxc1Vbc0+E+z6Unco474oSGf+D1DO+Y=
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
If someone knows please help!!
Thank you very much.
|
|
|
|
|
|
I know to parse SAML, i need to validate the signature.
I tried this:
public bool VerifySignature()
{
X509Certificate2 certificate = null;
XmlDocument doc = new XmlDocument();
XmlElement xmlAssertionElement = this.GetXml(doc);
doc.AppendChild(xmlAssertionElement);
SamlSignedXml signedXml = new SamlSignedXml(xmlAssertionElement);
XmlElement xmlSignature = this.Signature;
if (xmlSignature == null)
{
return false;
}
signedXml.LoadXml(xmlSignature);
foreach (KeyInfoClause clause in signedXml.KeyInfo)
{
if (clause is KeyInfoX509Data)
{
if (((KeyInfoX509Data)clause).Certificates.Count > 0)
{
certificate = (X509Certificate2)((KeyInfoX509Data)clause).Certificates[0];
}
}
}
if (certificate == null)
{
return false;
}
return signedXml.CheckSignature(certificate, true);
}
It valides the signature of a SAML signed in .Net but not of this Java one.
|
|
|
|
|