Still do not get? Why am I not surprised? Pay attention:
Hislegacy's statement, to which you responded, said the following:
"In fact, Brian Fallon, the press secretary for Hillary Clinton’s unsuccessful 2016 campaign, once said he would have been willing to travel to Europe to confirm dirt about then-candidate Trump."
You responded in the form of a question:
"Is confirming something illegal?"
Did I answer your question? Why yes I did, when I said:
It could violate the statute (U.S. 52 30121), depending what transpires, the transaction of traveling to Europe to confirm “dirt on then candidate Trump.”
So your cute attempt at a terse, snooty reply above is rather hallow, given the broadness of your question, especially since a violation of the statute is possible in the context of traveling to a foreign country to "confirm dirt about then candidate Trump," thereby telling you that YES, it can be illegal. Got it? Got it now?
Let me provide a more substantive answer to your question of, "Is confirming something illegal?"
52 U.S.C. 30121 reads as follows:
(a) ProhibitionIt shall be unlawful for—
a foreign national, directly or indirectly, to make—
(A) a contribution or donation of money or other thing of value, or to make an express or implied promise to make a contribution or donation, in connection with a Federal, State, or local election;
(B) a contribution or donation to a committee of a political party; or
electioneering communication (within the meaning of section 30104(f)(3) of this title); or
(2) a person to solicit, accept, or receive a contribution or donation described in subparagraph (A) or (B) of paragraph (1) from a foreign national.
So, analytically, for purposes of the statute, there is no difference between Brian Fallon, traveling to Europe to confirm "dirt about then candidate Trump" and speaking with a foreigner (not subject to the definition exceptions under the statute, in a European country, who has dirt on Trump and discloses the dirt on Trump to Brian Fallon, and Trump picking up the phone from a person located in Norway (said person not meeting any of the statutory definition exceptions under the statute) and listening as the person discloses to Trump the "dirt" they have on his political opponent.